factory

package
v1.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 28, 2021 License: Apache-2.0 Imports: 5 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppServerFactory

type AppServerFactory interface {
	Serve()
	Shutdown(ctx context.Context)
	Name() string
}

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
}

ModuleFactory factory

type ServiceFactory

type ServiceFactory interface {
	GetConfig() *config.Config
	GetDependency() dependency.Dependency
	GetApplications() []AppServerFactory
	GetModules() []ModuleFactory
	Name() types.Service
}

ServiceFactory factory

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL