Documentation ¶
Index ¶
- type AppServerFactory
- type ModuleFactory
- func (_m *ModuleFactory) GRPCHandler() interfaces.GRPCHandler
- func (_m *ModuleFactory) GraphQLHandler() interfaces.GraphQLHandler
- func (_m *ModuleFactory) Name() types.Module
- func (_m *ModuleFactory) RESTHandler() interfaces.RESTHandler
- func (_m *ModuleFactory) ServerHandler(serverType types.Server) interfaces.ServerHandler
- func (_m *ModuleFactory) WorkerHandler(workerType types.Worker) interfaces.WorkerHandler
- type ServiceFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppServerFactory ¶
AppServerFactory is an autogenerated mock type for the AppServerFactory type
func (*AppServerFactory) Name ¶
func (_m *AppServerFactory) Name() string
Name provides a mock function with given fields:
func (*AppServerFactory) Serve ¶
func (_m *AppServerFactory) Serve()
Serve provides a mock function with given fields:
func (*AppServerFactory) Shutdown ¶
func (_m *AppServerFactory) Shutdown(ctx context.Context)
Shutdown provides a mock function with given fields: ctx
type ModuleFactory ¶
ModuleFactory is an autogenerated mock type for the ModuleFactory type
func (*ModuleFactory) GRPCHandler ¶
func (_m *ModuleFactory) GRPCHandler() interfaces.GRPCHandler
GRPCHandler provides a mock function with given fields:
func (*ModuleFactory) GraphQLHandler ¶
func (_m *ModuleFactory) GraphQLHandler() interfaces.GraphQLHandler
GraphQLHandler provides a mock function with given fields:
func (*ModuleFactory) Name ¶
func (_m *ModuleFactory) Name() types.Module
Name provides a mock function with given fields:
func (*ModuleFactory) RESTHandler ¶
func (_m *ModuleFactory) RESTHandler() interfaces.RESTHandler
RESTHandler provides a mock function with given fields:
func (*ModuleFactory) ServerHandler ¶ added in v1.7.0
func (_m *ModuleFactory) ServerHandler(serverType types.Server) interfaces.ServerHandler
ServerHandler provides a mock function with given fields: serverType
func (*ModuleFactory) WorkerHandler ¶
func (_m *ModuleFactory) WorkerHandler(workerType types.Worker) interfaces.WorkerHandler
WorkerHandler provides a mock function with given fields: workerType
type ServiceFactory ¶
ServiceFactory is an autogenerated mock type for the ServiceFactory type
func (*ServiceFactory) GetApplications ¶
func (_m *ServiceFactory) GetApplications() []factory.AppServerFactory
GetApplications provides a mock function with given fields:
func (*ServiceFactory) GetConfig ¶
func (_m *ServiceFactory) GetConfig() *config.Config
GetConfig provides a mock function with given fields:
func (*ServiceFactory) GetDependency ¶
func (_m *ServiceFactory) GetDependency() dependency.Dependency
GetDependency provides a mock function with given fields:
func (*ServiceFactory) GetModules ¶
func (_m *ServiceFactory) GetModules() []factory.ModuleFactory
GetModules provides a mock function with given fields:
func (*ServiceFactory) Name ¶
func (_m *ServiceFactory) Name() types.Service
Name provides a mock function with given fields: