test_clients

package
v1.1.1-19 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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 (c *DummyCommandableGrpcClient) CreateDummy(correlationId string, dummy tdata.Dummy) (result *tdata.Dummy, err error)

func (*DummyCommandableGrpcClient) DeleteDummy

func (c *DummyCommandableGrpcClient) DeleteDummy(correlationId string, dummyId string) (result *tdata.Dummy, err error)

func (*DummyCommandableGrpcClient) GetDummies

func (c *DummyCommandableGrpcClient) GetDummies(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (result *tdata.DummyDataPage, err error)

func (*DummyCommandableGrpcClient) GetDummyById

func (c *DummyCommandableGrpcClient) GetDummyById(correlationId string, dummyId string) (result *tdata.Dummy, err error)

func (*DummyCommandableGrpcClient) UpdateDummy

func (c *DummyCommandableGrpcClient) UpdateDummy(correlationId string, dummy tdata.Dummy) (result *tdata.Dummy, err error)

type DummyGrpcClient

type DummyGrpcClient struct {
	*grpcclients.GrpcClient
}

func NewDummyGrpcClient

func NewDummyGrpcClient() *DummyGrpcClient

func (*DummyGrpcClient) CreateDummy

func (c *DummyGrpcClient) CreateDummy(correlationId string, dummy tdata.Dummy) (result *tdata.Dummy, err error)

func (*DummyGrpcClient) DeleteDummy

func (c *DummyGrpcClient) DeleteDummy(correlationId string, dummyId string) (result *tdata.Dummy, err error)

func (*DummyGrpcClient) GetDummies

func (c *DummyGrpcClient) GetDummies(correlationId string, filter *cdata.FilterParams, paging *cdata.PagingParams) (result *tdata.DummyDataPage, err error)

func (*DummyGrpcClient) GetDummyById

func (c *DummyGrpcClient) GetDummyById(correlationId string, dummyId string) (result *tdata.Dummy, err error)

func (*DummyGrpcClient) UpdateDummy

func (c *DummyGrpcClient) UpdateDummy(correlationId string, dummy tdata.Dummy) (result *tdata.Dummy, err error)

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)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL