Documentation ¶
Index ¶
- type Dummy
- type DummyCommandSet
- type DummyController
- func (c *DummyController) Create(correlationId string, entity Dummy) (result *Dummy, err error)
- func (c *DummyController) DeleteById(correlationId string, id string) (result *Dummy, err error)
- func (c *DummyController) GetCommandSet() *ccomand.CommandSet
- func (c *DummyController) GetOneById(correlationId string, id string) (result *Dummy, err error)
- func (c *DummyController) GetPageByFilter(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (items *DummyDataPage, err error)
- func (c *DummyController) Update(correlationId string, newEntity Dummy) (result *Dummy, err error)
- type DummyDataPage
- type DummySchema
- type IDummyController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DummyCommandSet ¶
type DummyCommandSet struct { ccomand.CommandSet // contains filtered or unexported fields }
func NewDummyCommandSet ¶
func NewDummyCommandSet(controller IDummyController) *DummyCommandSet
type DummyController ¶
type DummyController struct {
// contains filtered or unexported fields
}
func NewDummyController ¶
func NewDummyController() *DummyController
func (*DummyController) Create ¶
func (c *DummyController) Create(correlationId string, entity Dummy) (result *Dummy, err error)
func (*DummyController) DeleteById ¶
func (c *DummyController) DeleteById(correlationId string, id string) (result *Dummy, err error)
func (*DummyController) GetCommandSet ¶
func (c *DummyController) GetCommandSet() *ccomand.CommandSet
func (*DummyController) GetOneById ¶
func (c *DummyController) GetOneById(correlationId string, id string) (result *Dummy, err error)
func (*DummyController) GetPageByFilter ¶
func (c *DummyController) GetPageByFilter(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (items *DummyDataPage, err error)
type DummyDataPage ¶
func NewDummyDataPage ¶
func NewDummyDataPage(total *int64, data []Dummy) *DummyDataPage
func NewEmptyDummyDataPage ¶
func NewEmptyDummyDataPage() *DummyDataPage
type DummySchema ¶
type DummySchema struct {
cvalid.ObjectSchema
}
func NewDummySchema ¶
func NewDummySchema() *DummySchema
type IDummyController ¶
type IDummyController interface { GetPageByFilter(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (result *DummyDataPage, err error) GetOneById(correlationId string, id string) (result *Dummy, err error) Create(correlationId string, entity Dummy) (result *Dummy, err error) Update(correlationId string, entity Dummy) (result *Dummy, err error) DeleteById(correlationId string, id string) (result *Dummy, err error) }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.