servermock

package
v1.11.12-rc.2 Latest Latest
Warning

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

Go to latest
Published: Sep 12, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Overview

Package servermock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server is a mock of Server interface.

func NewServer

func NewServer(ctrl *gomock.Controller) *Server

NewServer creates a new mock instance.

func (*Server) AddAliases

func (m *Server) AddAliases(arg0 string, arg1 ...string) error

AddAliases mocks base method.

func (*Server) AddAliasesWithReadLock

func (m *Server) AddAliasesWithReadLock(arg0 string, arg1 ...string) error

AddAliasesWithReadLock mocks base method.

func (*Server) AddRoute

func (m *Server) AddRoute(arg0 http.Handler, arg1, arg2 string) error

AddRoute mocks base method.

func (*Server) AddRouteWithReadLock

func (m *Server) AddRouteWithReadLock(arg0 http.Handler, arg1, arg2 string) error

AddRouteWithReadLock mocks base method.

func (*Server) Dispatch

func (m *Server) Dispatch() error

Dispatch mocks base method.

func (*Server) EXPECT

func (m *Server) EXPECT() *ServerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*Server) RegisterChain

func (m *Server) RegisterChain(arg0 string, arg1 *snow.ConsensusContext, arg2 common.VM)

RegisterChain mocks base method.

func (*Server) Shutdown

func (m *Server) Shutdown() error

Shutdown mocks base method.

type ServerMockRecorder

type ServerMockRecorder struct {
	// contains filtered or unexported fields
}

ServerMockRecorder is the mock recorder for Server.

func (*ServerMockRecorder) AddAliases

func (mr *ServerMockRecorder) AddAliases(arg0 any, arg1 ...any) *gomock.Call

AddAliases indicates an expected call of AddAliases.

func (*ServerMockRecorder) AddAliasesWithReadLock

func (mr *ServerMockRecorder) AddAliasesWithReadLock(arg0 any, arg1 ...any) *gomock.Call

AddAliasesWithReadLock indicates an expected call of AddAliasesWithReadLock.

func (*ServerMockRecorder) AddRoute

func (mr *ServerMockRecorder) AddRoute(arg0, arg1, arg2 any) *gomock.Call

AddRoute indicates an expected call of AddRoute.

func (*ServerMockRecorder) AddRouteWithReadLock

func (mr *ServerMockRecorder) AddRouteWithReadLock(arg0, arg1, arg2 any) *gomock.Call

AddRouteWithReadLock indicates an expected call of AddRouteWithReadLock.

func (*ServerMockRecorder) Dispatch

func (mr *ServerMockRecorder) Dispatch() *gomock.Call

Dispatch indicates an expected call of Dispatch.

func (*ServerMockRecorder) RegisterChain

func (mr *ServerMockRecorder) RegisterChain(arg0, arg1, arg2 any) *gomock.Call

RegisterChain indicates an expected call of RegisterChain.

func (*ServerMockRecorder) Shutdown

func (mr *ServerMockRecorder) Shutdown() *gomock.Call

Shutdown indicates an expected call of Shutdown.

Jump to

Keyboard shortcuts

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