Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CRUDAPI ¶
type CRUDAPI interface {
Create(entity Entity) error
Get(id [16]byte) (Entity, error)
List(params map[string]string) ([]Entity, error)
Update(v Entity) error
Delete(id [16]byte) error
}
CRUDAPI is a generic interface for common CRUD operations either extend this or use your own for more complex requirements
type CreateFunc ¶
type DeleteFunc ¶
type UpdateFunc ¶
Click to show internal directories.
Click to hide internal directories.