Documentation ¶
Overview ¶
Package servermock is a generated GoMock package.
Index ¶
- type Server
- func (m *Server) AddAliases(arg0 string, arg1 ...string) error
- func (m *Server) AddAliasesWithReadLock(arg0 string, arg1 ...string) error
- func (m *Server) AddRoute(arg0 http.Handler, arg1, arg2 string) error
- func (m *Server) AddRouteWithReadLock(arg0 http.Handler, arg1, arg2 string) error
- func (m *Server) Dispatch() error
- func (m *Server) EXPECT() *ServerMockRecorder
- func (m *Server) RegisterChain(arg0 string, arg1 *snow.ConsensusContext, arg2 common.VM)
- func (m *Server) Shutdown() error
- type ServerMockRecorder
- func (mr *ServerMockRecorder) AddAliases(arg0 any, arg1 ...any) *gomock.Call
- func (mr *ServerMockRecorder) AddAliasesWithReadLock(arg0 any, arg1 ...any) *gomock.Call
- func (mr *ServerMockRecorder) AddRoute(arg0, arg1, arg2 any) *gomock.Call
- func (mr *ServerMockRecorder) AddRouteWithReadLock(arg0, arg1, arg2 any) *gomock.Call
- func (mr *ServerMockRecorder) Dispatch() *gomock.Call
- func (mr *ServerMockRecorder) RegisterChain(arg0, arg1, arg2 any) *gomock.Call
- func (mr *ServerMockRecorder) Shutdown() *gomock.Call
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 ¶
AddAliases mocks base method.
func (*Server) AddAliasesWithReadLock ¶
AddAliasesWithReadLock mocks base method.
func (*Server) AddRouteWithReadLock ¶
AddRouteWithReadLock 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 ¶
RegisterChain 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.