Help us shape the future of Go! Take the 2026 Go Developer Survey

bootstrap

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2019 License: GPL-3.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LibraryVersion = "1.1.1"
)

Variables

This section is empty.

Functions

func ServiceBootstrap

func ServiceBootstrap(localConfigPtr, remoteConfigPtr interface{}) *bootstrapConfiguration

entry point to describe module

func UnmarshalAddressListAndThen

func UnmarshalAddressListAndThen(event string, f func([]structure.AddressConfiguration)) func(*gosocketio.Channel, string) error

Types

type ModuleInfo

type ModuleInfo struct {
	ModuleName       string
	ModuleVersion    string
	GrpcOuterAddress structure.AddressConfiguration
	Handlers         []interface{}
}

contains information for config service announcement

type ModuleRequirements

type ModuleRequirements struct {
	RequiredModules []string
	RequireRoutes   bool
}

contains base requirements for module

func (ModuleRequirements) IsEmpty

func (r ModuleRequirements) IsEmpty() bool

type RoutesDeclarator

type RoutesDeclarator interface {
	DeclareRoutes()
}

Jump to

Keyboard shortcuts

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