mocks

package
v3.0.7 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
	mock.Mock
}

Module is an autogenerated mock type for the Module type

func NewModule

func NewModule(t mockConstructorTestingTNewModule) *Module

NewModule creates a new instance of Module. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Module) Consume

func (_m *Module) Consume()

Consume provides a mock function with given fields:

func (*Module) Populete

func (_m *Module) Populete()

Populete provides a mock function with given fields:

type Server

type Server struct {
	mock.Mock
}

Server is an autogenerated mock type for the Server type

func NewServer

func NewServer(t mockConstructorTestingTNewServer) *Server

NewServer creates a new instance of Server. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Server) GRpcHandler

func (_m *Server) GRpcHandler(_a0 context.Context, server *runtime.ServeMux, client *grpc.ClientConn) error

GRpcHandler provides a mock function with given fields: _a0, server, client

func (*Server) RegisterAutoMigrate

func (_m *Server) RegisterAutoMigrate()

RegisterAutoMigrate provides a mock function with given fields:

func (*Server) RegisterGRpc

func (_m *Server) RegisterGRpc(server *grpc.Server)

RegisterGRpc provides a mock function with given fields: server

func (*Server) RegisterQueueConsumer

func (_m *Server) RegisterQueueConsumer()

RegisterQueueConsumer provides a mock function with given fields:

func (*Server) RepopulateData

func (_m *Server) RepopulateData()

RepopulateData provides a mock function with given fields:

Jump to

Keyboard shortcuts

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