Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppServerFactory ¶
AppServerFactory factory for server and/or worker abstraction
type ModuleFactory ¶
type ModuleFactory interface {
RESTHandler() interfaces.RESTHandler
GRPCHandler() interfaces.GRPCHandler
GraphQLHandler() interfaces.GraphQLHandler
WorkerHandler(workerType types.Worker) interfaces.WorkerHandler
Name() types.Module
// Additional server type (another rest framework, p2p, and many more)
ServerHandler(serverType types.Server) interfaces.ServerHandler
}
ModuleFactory factory
type ServiceFactory ¶
type ServiceFactory interface {
GetConfig() *config.Config
GetDependency() dependency.Dependency
GetApplications() []AppServerFactory
GetModules() []ModuleFactory
Name() types.Service
}
ServiceFactory factory
Click to show internal directories.
Click to hide internal directories.