Documentation ¶
Index ¶
- type Server
- func (_m *Server) Consume(messenger *messengers.Messenger)
- func (_m *Server) Handle(_a0 context.Context, server *runtime.ServeMux, client *grpc.ClientConn) error
- func (_m *Server) Migrate(db *gorm.DB)
- func (_m *Server) Register(server *grpc.Server)
- func (_m *Server) RepopulateData(client *elastic.Client)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
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) Register ¶ added in v3.1.2
Register provides a mock function with given fields: server
func (*Server) RepopulateData ¶
RepopulateData provides a mock function with given fields: client
Click to show internal directories.
Click to hide internal directories.