Documentation ¶
Index ¶
Constants ¶
View Source
const (
LibraryVersion = "2.4.0"
)
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([]byte)
Types ¶
type ModuleInfo ¶
type ModuleInfo struct { ModuleName string ModuleVersion string GrpcOuterAddress structure.AddressConfiguration // Deprecated: use Endpoints instead Handlers []interface{} Endpoints []structure.EndpointDescriptor }
contains information for config service announcement
type ModuleRequirements ¶
contains base requirements for module
func (ModuleRequirements) IsEmpty ¶
func (r ModuleRequirements) IsEmpty() bool
type RoundRobinStrings ¶
type RoundRobinStrings struct {
// contains filtered or unexported fields
}
func NewRoundRobinStrings ¶
func NewRoundRobinStrings(urls []string) *RoundRobinStrings
func (*RoundRobinStrings) Get ¶
func (u *RoundRobinStrings) Get() string
type RoutesDeclarator ¶
type RoutesDeclarator interface {
DeclareRoutes()
}
Click to show internal directories.
Click to hide internal directories.