Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config extend grpc client for enhance opt use Option which you should write inside this package ;)
type Fixture ¶
type Fixture struct { Err error Res *helloworld.HelloReply CB func(*helloworld.HelloRequest) }
type MockServer ¶
type MockServer struct { helloworld.UnimplementedGreeterServer Fixture }
func (MockServer) SayHello ¶
func (s MockServer) SayHello(_ context.Context, req *helloworld.HelloRequest) (*helloworld.HelloReply, error)
Click to show internal directories.
Click to hide internal directories.