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