Documentation ¶
Index ¶
- type DummyCommandSet
- type DummyController
- func (c *DummyController) Create(correlationId string, entity data.Dummy) (result *data.Dummy, err error)
- func (c *DummyController) DeleteById(correlationId string, id string) (result *data.Dummy, err error)
- func (c *DummyController) GetCommandSet() *ccomand.CommandSet
- func (c *DummyController) GetOneById(correlationId string, id string) (result *data.Dummy, err error)
- func (c *DummyController) GetPageByFilter(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (items *data.DummyDataPage, err error)
- func (c *DummyController) Update(correlationId string, newEntity data.Dummy) (result *data.Dummy, err error)
- 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) DeleteById ¶
func (*DummyController) GetCommandSet ¶
func (c *DummyController) GetCommandSet() *ccomand.CommandSet
func (*DummyController) GetOneById ¶
func (*DummyController) GetPageByFilter ¶
func (c *DummyController) GetPageByFilter(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (items *data.DummyDataPage, err error)
type IDummyController ¶
type IDummyController interface { GetPageByFilter(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (result *data.DummyDataPage, err error) GetOneById(correlationId string, id string) (result *data.Dummy, err error) Create(correlationId string, entity data.Dummy) (result *data.Dummy, err error) Update(correlationId string, entity data.Dummy) (result *data.Dummy, err error) DeleteById(correlationId string, id string) (result *data.Dummy, err error) }
Click to show internal directories.
Click to hide internal directories.