Documentation ¶
Index ¶
- Constants
- func GetNodeFullName(module string, component string) string
- func ParseFullName(fullName string) (module string, component string, err error)
- type AddressUpgrade
- type Component
- type ComponentInfo
- type Emitter
- type HTTPService
- type Handler
- type Info
- type ListenAddressGetter
- type NodePort
- type Position
- type StatefulComponent
Constants ¶
View Source
const ( SaveStatePort string = "_save-state" GetStatePort string = "_get-state" SettingsPort string = "_settings" StatusPort string = "_status" )
Variables ¶
This section is empty.
Functions ¶
func GetNodeFullName ¶
Types ¶
type AddressUpgrade ¶ added in v0.1.25
type ComponentInfo ¶
func (ComponentInfo) GetResourceName ¶
func (c ComponentInfo) GetResourceName() string
type HTTPService ¶
type HTTPService interface {
HTTPService(getter ListenAddressGetter)
}
type Info ¶
type Info struct { Name string VersionID string // if module's build is registered Version string Addr string //listed address }
func (Info) GetMajorName ¶
func (Info) GetMajorNameHashed ¶ added in v0.1.22
func (Info) GetMajorNameSanitised ¶
type ListenAddressGetter ¶
type ListenAddressGetter func() (port int, upgrade AddressUpgrade)
ListenAddressGetter gets listen port address
Click to show internal directories.
Click to hide internal directories.