Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶
type Handler interface {
chassis.RPCRegistrar
crudv1Connect.CrudServiceHandler
}
type Model ¶
type Model interface {
Create(ctx context.Context, name *crudv1.Name) (id string, err error)
Read(ctx context.Context, id string) (name *crudv1.Name, err error)
Update(ctx context.Context, name *crudv1.Name) (id string, err error)
Delete(ctx context.Context, id string) (err error)
}
func NewModel ¶
func NewModel(db bun.Repository) Model
Click to show internal directories.
Click to hide internal directories.