Documentation ¶
Overview ¶
Package server provides the server application for the jrp.
Package server is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CreateServerFunc ¶
CreateServerFunc is a function type for creating new server instances.
var ( // NewServer is a variable holding the current server creation function. NewServer CreateServerFunc = newServer )
type MockServer ¶
type MockServer struct {
// contains filtered or unexported fields
}
MockServer is a mock of Server interface.
func NewMockServer ¶
func NewMockServer(ctrl *gomock.Controller) *MockServer
NewMockServer creates a new mock instance.
func (*MockServer) EXPECT ¶
func (m *MockServer) EXPECT() *MockServerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockServerMockRecorder ¶
type MockServerMockRecorder struct {
// contains filtered or unexported fields
}
MockServerMockRecorder is the mock recorder for MockServer.
func (*MockServerMockRecorder) Init ¶
func (mr *MockServerMockRecorder) Init(envconfig, fileUtil, sql any) *gomock.Call
Init indicates an expected call of Init.
func (*MockServerMockRecorder) Run ¶
func (mr *MockServerMockRecorder) Run() *gomock.Call
Run indicates an expected call of Run.
Click to show internal directories.
Click to hide internal directories.