Documentation ¶
Index ¶
- type DummyRestClient
- func (c *DummyRestClient) CheckCorrelationId(correlationId string) (result map[string]string, err error)
- func (c *DummyRestClient) CheckErrorPropagation(correlationId string) error
- func (c *DummyRestClient) CreateDummy(correlationId string, dummy edata.Dummy) (result *edata.Dummy, err error)
- func (c *DummyRestClient) DeleteDummy(correlationId string, dummyId string) (result *edata.Dummy, err error)
- func (c *DummyRestClient) GetDummies(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (result *edata.DummyDataPage, err error)
- func (c *DummyRestClient) GetDummyById(correlationId string, dummyId string) (result *edata.Dummy, err error)
- func (c *DummyRestClient) UpdateDummy(correlationId string, dummy edata.Dummy) (result *edata.Dummy, err error)
- type IDummyClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DummyRestClient ¶
type DummyRestClient struct {
clients.RestClient
}
func NewDummyRestClient ¶
func NewDummyRestClient() *DummyRestClient
func (*DummyRestClient) CheckCorrelationId ¶
func (c *DummyRestClient) CheckCorrelationId(correlationId string) (result map[string]string, err error)
func (*DummyRestClient) CheckErrorPropagation ¶
func (c *DummyRestClient) CheckErrorPropagation(correlationId string) error
func (*DummyRestClient) CreateDummy ¶
func (*DummyRestClient) DeleteDummy ¶
func (*DummyRestClient) GetDummies ¶
func (c *DummyRestClient) GetDummies(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (result *edata.DummyDataPage, err error)
func (*DummyRestClient) GetDummyById ¶
func (*DummyRestClient) UpdateDummy ¶
type IDummyClient ¶
type IDummyClient interface { GetDummies(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (result *edata.DummyDataPage, err error) GetDummyById(correlationId string, dummyId string) (result *edata.Dummy, err error) CreateDummy(correlationId string, dummy edata.Dummy) (result *edata.Dummy, err error) UpdateDummy(correlationId string, dummy edata.Dummy) (result *edata.Dummy, err error) DeleteDummy(correlationId string, dummyId string) (result *edata.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.