Documentation
¶
Overview ¶
Package ar pkg/services/ar/ar.go c2-vis-appsvc
address-resolver as a pkg/services.Service.
Package ar pkg/services/ar/config.go c2-vis-appsvc
Index ¶
Constants ¶
View Source
const Type = "address-resolver"
Type is the registry key used in services.json blocks.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Path string `json:"-"`
services.Common
UDPAddr string `json:"udp_addr,omitempty"`
PublicUDPAddr string `json:"public_udp_addr,omitempty"`
Whitelist []string `json:"whitelist_keys,omitempty"`
// Dmsg is the dmsg-related config block — same shape across
// every deployment service that uses it.
Dmsg cmdutil.DmsgConfig `json:"dmsg,omitempty"`
// ChartsAddr serves only the charts page over plain HTTP. Empty disables it.
ChartsAddr string `json:"charts_addr,omitempty"`
}
Config is the JSON configuration for address-resolver.
func ParseBlock ¶
ParseBlock decodes a services.json block into a Config.
Click to show internal directories.
Click to hide internal directories.