Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Fixture ¶
type Fixture struct { Server *ggrpc.GordianGRPC Client ggrpc.GordianGRPCClient // TODO: either pull up the rest of the necessary fields from GRPCServerConfig // or just outright expose GRPCServerConfig. FinalizationStore *tmmemstore.FinalizationStore MirrorStore *tmmemstore.MirrorStore TxStore *txmemstore.Store }
Fixture contains a gRPC server and client, ready to use for testing the gRPC services.
func NewFixture ¶
NewFixture returns a new fixture whose lifecycle is associated with the given context. It registers cleanup through t.Cleanup. The caller must be sure to defer context cancellation in order for the fixture to shut down properly.
Click to show internal directories.
Click to hide internal directories.