Documentation
¶
Index ¶
Constants ¶
View Source
const BufSize = 1024 * 1024
Variables ¶
This section is empty.
Functions ¶
func NewOutgoingContext ¶
func NewTestGrpcClient ¶
Types ¶
type TestGrpcClient ¶
type TestGrpcClient struct {
Conn *grpc.ClientConn
}
type TestServer ¶
type TestServer struct { Ctx context.Context Server *server.Server Lis *bufconn.Listener Session *auth_manager.Session }
func NewTestServer ¶
func NewTestServer(t *testing.T, log *wlog.Logger) *TestServer
func (*TestServer) Serve ¶
func (s *TestServer) Serve() error
type TestStorageCluster ¶
type TestStorageCluster struct {
// contains filtered or unexported fields
}
func NewTestStorageCluster ¶
func (*TestStorageCluster) Mock ¶
func (t *TestStorageCluster) Mock() pgxmock.PgxPoolIface
func (*TestStorageCluster) Store ¶
func (t *TestStorageCluster) Store() cluster.Store
Click to show internal directories.
Click to hide internal directories.