mocks

package
v0.0.0-...-4ca5139 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Grpc

type Grpc struct {
	mock.Mock
}

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

func (_m *Grpc) Client(ctx context.Context, name string) (*grpc.ClientConn, error)

Client provides a mock function with given fields: ctx, name

func (*Grpc) Run

func (_m *Grpc) Run(host ...string) error

Run provides a mock function with given fields: host

func (*Grpc) Server

func (_m *Grpc) Server() *grpc.Server

Server provides a mock function with given fields:

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

Jump to

Keyboard shortcuts

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