micro

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2020 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AppServer

type AppServer struct {
	Logger abstraction.Logger
}

AppServer defines standard operations for an App server

func (*AppServer) Run

func (s *AppServer) Run(appDefinition interface{}) error

Run executes the Server using the provided app definition

type AppServerFlagsInitializer

type AppServerFlagsInitializer interface {
	InitializeFlags() []cli.Flag
}

AppServerFlagsInitializer describes an method for flag initialization

type AppServerHandlerRegistar

type AppServerHandlerRegistar interface {
	InitializeServiceHandlers(service micro.Service) error
}

AppServerHandlerRegistar describes an method for Service Handlers initialization

type AppServerInfrastructureInitializer

type AppServerInfrastructureInitializer interface {
	InitializeInfrastructure() error
}

AppServerInfrastructureInitializer describes an method for infrastructure initialization

type AppServerOptionsInitializer

type AppServerOptionsInitializer interface {
	InitializeOptions() []micro.Option
}

AppServerOptionsInitializer describes an method for service options initialization

Jump to

Keyboard shortcuts

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