Documentation ¶
Index ¶
- type Grpc
- func (_m *Grpc) Client(ctx context.Context, name string) (*grpc.ClientConn, error)
- func (_m *Grpc) Run(host ...string) error
- func (_m *Grpc) Server() *grpc.Server
- func (_m *Grpc) UnaryClientInterceptorGroups(_a0 map[string][]grpc.UnaryClientInterceptor)
- func (_m *Grpc) UnaryServerInterceptors(_a0 []grpc.UnaryServerInterceptor)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Grpc ¶
Grpc is an autogenerated mock type for the Grpc type
func NewGrpc ¶
func NewGrpc(t mockConstructorTestingTNewGrpc) *Grpc
NewGrpc creates a new instance of Grpc. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*Grpc) UnaryClientInterceptorGroups ¶
func (_m *Grpc) UnaryClientInterceptorGroups(_a0 map[string][]grpc.UnaryClientInterceptor)
UnaryClientInterceptorGroups provides a mock function with given fields: _a0
func (*Grpc) UnaryServerInterceptors ¶
func (_m *Grpc) UnaryServerInterceptors(_a0 []grpc.UnaryServerInterceptor)
UnaryServerInterceptors provides a mock function with given fields: _a0
Click to show internal directories.
Click to hide internal directories.