Documentation ¶
Index ¶
- type DummyClientFixture
- type DummyCommandableGrpcClient
- func (c *DummyCommandableGrpcClient) CreateDummy(correlationId string, dummy tdata.Dummy) (result *tdata.Dummy, err error)
- func (c *DummyCommandableGrpcClient) DeleteDummy(correlationId string, dummyId string) (result *tdata.Dummy, err error)
- func (c *DummyCommandableGrpcClient) GetDummies(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (result *tdata.DummyDataPage, err error)
- func (c *DummyCommandableGrpcClient) GetDummyById(correlationId string, dummyId string) (result *tdata.Dummy, err error)
- func (c *DummyCommandableGrpcClient) UpdateDummy(correlationId string, dummy tdata.Dummy) (result *tdata.Dummy, err error)
- type DummyGrpcClient
- func (c *DummyGrpcClient) CreateDummy(correlationId string, dummy tdata.Dummy) (result *tdata.Dummy, err error)
- func (c *DummyGrpcClient) DeleteDummy(correlationId string, dummyId string) (result *tdata.Dummy, err error)
- func (c *DummyGrpcClient) GetDummies(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (result *tdata.DummyDataPage, err error)
- func (c *DummyGrpcClient) GetDummyById(correlationId string, dummyId string) (result *tdata.Dummy, err error)
- func (c *DummyGrpcClient) 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 DummyCommandableGrpcClient ¶
type DummyCommandableGrpcClient struct {
*grpcclients.CommandableGrpcClient
}
func NewDummyCommandableGrpcClient ¶
func NewDummyCommandableGrpcClient() *DummyCommandableGrpcClient
func (*DummyCommandableGrpcClient) CreateDummy ¶
func (*DummyCommandableGrpcClient) DeleteDummy ¶
func (*DummyCommandableGrpcClient) GetDummies ¶
func (c *DummyCommandableGrpcClient) GetDummies(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (result *tdata.DummyDataPage, err error)
func (*DummyCommandableGrpcClient) GetDummyById ¶
func (*DummyCommandableGrpcClient) UpdateDummy ¶
type DummyGrpcClient ¶
type DummyGrpcClient struct {
*grpcclients.GrpcClient
}
func NewDummyGrpcClient ¶
func NewDummyGrpcClient() *DummyGrpcClient
func (*DummyGrpcClient) CreateDummy ¶
func (*DummyGrpcClient) DeleteDummy ¶
func (*DummyGrpcClient) GetDummies ¶
func (c *DummyGrpcClient) GetDummies(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (result *tdata.DummyDataPage, err error)
func (*DummyGrpcClient) GetDummyById ¶
func (*DummyGrpcClient) 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) }
Click to show internal directories.
Click to hide internal directories.