Documentation ¶
Index ¶
- type DummyClientFixture
- type DummyCommandableHttpClient
- func (c *DummyCommandableHttpClient) CheckCorrelationId(correlationId string) (result map[string]string, err error)
- func (c *DummyCommandableHttpClient) CheckErrorPropagation(correlationId string) error
- func (c *DummyCommandableHttpClient) CreateDummy(correlationId string, dummy tdata.Dummy) (result *tdata.Dummy, err error)
- func (c *DummyCommandableHttpClient) DeleteDummy(correlationId string, dummyId string) (result *tdata.Dummy, err error)
- func (c *DummyCommandableHttpClient) GetDummies(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (result *tdata.DummyDataPage, err error)
- func (c *DummyCommandableHttpClient) GetDummyById(correlationId string, dummyId string) (result *tdata.Dummy, err error)
- func (c *DummyCommandableHttpClient) UpdateDummy(correlationId string, dummy tdata.Dummy) (result *tdata.Dummy, err error)
- type DummyDirectClient
- func (c *DummyDirectClient) CheckCorrelationId(correlationId string) (result map[string]string, err error)
- func (c *DummyDirectClient) CreateDummy(correlationId string, dummy tdata.Dummy) (result *tdata.Dummy, err error)
- func (c *DummyDirectClient) DeleteDummy(correlationId string, dummyId string) (result *tdata.Dummy, err error)
- func (c *DummyDirectClient) GetDummies(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (result *tdata.DummyDataPage, err error)
- func (c *DummyDirectClient) GetDummyById(correlationId string, dummyId string) (result *tdata.Dummy, err error)
- func (c *DummyDirectClient) SetReferences(references cref.IReferences)
- func (c *DummyDirectClient) UpdateDummy(correlationId string, dummy tdata.Dummy) (result *tdata.Dummy, err error)
- 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 tdata.Dummy) (result *tdata.Dummy, err error)
- func (c *DummyRestClient) DeleteDummy(correlationId string, dummyId string) (result *tdata.Dummy, err error)
- func (c *DummyRestClient) GetDummies(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (result *tdata.DummyDataPage, err error)
- func (c *DummyRestClient) GetDummyById(correlationId string, dummyId string) (result *tdata.Dummy, err error)
- func (c *DummyRestClient) UpdateDummy(correlationId string, dummy tdata.Dummy) (result *tdata.Dummy, err error)
- type IDummyClient
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DummyClientFixture ¶
type DummyClientFixture struct {
// contains filtered or unexported fields
}
func NewDummyClientFixture ¶
func NewDummyClientFixture(client IDummyClient) *DummyClientFixture
func (*DummyClientFixture) TestCrudOperations ¶
func (c *DummyClientFixture) TestCrudOperations(t *testing.T)
type DummyCommandableHttpClient ¶
type DummyCommandableHttpClient struct {
clients.CommandableHttpClient
}
func NewDummyCommandableHttpClient ¶
func NewDummyCommandableHttpClient() *DummyCommandableHttpClient
func (*DummyCommandableHttpClient) CheckCorrelationId ¶ added in v1.0.14
func (c *DummyCommandableHttpClient) CheckCorrelationId(correlationId string) (result map[string]string, err error)
func (*DummyCommandableHttpClient) CheckErrorPropagation ¶ added in v1.4.3
func (c *DummyCommandableHttpClient) CheckErrorPropagation(correlationId string) error
func (*DummyCommandableHttpClient) CreateDummy ¶
func (*DummyCommandableHttpClient) DeleteDummy ¶
func (*DummyCommandableHttpClient) GetDummies ¶
func (c *DummyCommandableHttpClient) GetDummies(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (result *tdata.DummyDataPage, err error)
func (*DummyCommandableHttpClient) GetDummyById ¶
func (*DummyCommandableHttpClient) UpdateDummy ¶
type DummyDirectClient ¶
type DummyDirectClient struct { clients.DirectClient // contains filtered or unexported fields }
func NewDummyDirectClient ¶
func NewDummyDirectClient() *DummyDirectClient
func (*DummyDirectClient) CheckCorrelationId ¶ added in v1.0.14
func (c *DummyDirectClient) CheckCorrelationId(correlationId string) (result map[string]string, err error)
func (*DummyDirectClient) CreateDummy ¶
func (*DummyDirectClient) DeleteDummy ¶
func (*DummyDirectClient) GetDummies ¶
func (c *DummyDirectClient) GetDummies(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (result *tdata.DummyDataPage, err error)
func (*DummyDirectClient) GetDummyById ¶
func (*DummyDirectClient) SetReferences ¶
func (c *DummyDirectClient) SetReferences(references cref.IReferences)
func (*DummyDirectClient) UpdateDummy ¶
type DummyRestClient ¶
type DummyRestClient struct {
clients.RestClient
}
func NewDummyRestClient ¶
func NewDummyRestClient() *DummyRestClient
func (*DummyRestClient) CheckCorrelationId ¶ added in v1.0.14
func (c *DummyRestClient) CheckCorrelationId(correlationId string) (result map[string]string, err error)
func (*DummyRestClient) CheckErrorPropagation ¶ added in v1.4.3
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 *tdata.DummyDataPage, err error)
func (*DummyRestClient) GetDummyById ¶
func (*DummyRestClient) UpdateDummy ¶
type IDummyClient ¶
type IDummyClient interface { GetDummies(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (result *tdata.DummyDataPage, err error) GetDummyById(correlationId string, dummyId string) (result *tdata.Dummy, err error) CreateDummy(correlationId string, dummy tdata.Dummy) (result *tdata.Dummy, err error) UpdateDummy(correlationId string, dummy tdata.Dummy) (result *tdata.Dummy, err error) DeleteDummy(correlationId string, dummyId 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.