vikunja-api/routes/crud/helper.go

15 lines
277 B
Go
Raw Normal View History

2018-07-10 14:02:23 +02:00
package crud
import (
"git.kolaente.de/konrad/list/models"
)
2018-07-10 14:02:23 +02:00
// WebHandler defines the webhandler object
// This does web stuff, aka returns json etc. Uses CRUDable Methods to get the data
2018-07-10 14:02:23 +02:00
type WebHandler struct {
CObject interface {
models.CRUDable
models.Rights
}
}