Documentation
¶
Overview ¶
Package confbs pkg/services/confbs/confbs.go c2-vis-appsvc
config-bootstrapper as a pkg/services.Service, so a visor can run it under its own key.
Index ¶
Constants ¶
View Source
const Type = "config-bootstrapper"
Type is the registry key used in services.json blocks.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
services.Common
// ConfigPath is the file with the stun servers, setup nodes and
// transport setup keys to serve. A missing file serves the defaults.
ConfigPath string `json:"config_path,omitempty"`
// Domain is the domain of the endpoints (default skywire.skycoin.com).
Domain string `json:"domain,omitempty"`
Dmsg cmdutil.DmsgConfig `json:"dmsg,omitempty"`
}
Config is the JSON configuration for config-bootstrapper.
func ParseBlock ¶
ParseBlock decodes a services.json block into a Config.
Click to show internal directories.
Click to hide internal directories.