mocks

package
v3.2.12 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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) Consume added in v3.1.2

func (_m *Server) Consume(messenger *messengers.Messenger)

Consume provides a mock function with given fields: messenger

func (*Server) Handle added in v3.1.2

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

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

func (*Server) Migrate added in v3.1.2

func (_m *Server) Migrate(db *gorm.DB)

Migrate provides a mock function with given fields: db

func (*Server) Register added in v3.1.2

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

Register provides a mock function with given fields: server

func (*Server) Sync added in v3.2.7

func (_m *Server) Sync(client *elastic.Client)

Sync provides a mock function with given fields: client

Jump to

Keyboard shortcuts

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