vikunja-api/routes/crud/helper.go

15 lines
269 B
Go
Raw Normal View History

2018-07-10 14:02:23 +02:00
package crud
import (
2018-07-25 16:24:46 +02:00
"code.vikunja.io/api/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
}
}