Documentation ¶
Index ¶
Constants ¶
View Source
const ( BeskarStaticConfigFile = "beskar-static.yaml" DefaultBeskarStaticDataDir = "/tmp/beskar-static" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeskarStaticConfig ¶
type BeskarStaticConfig struct { Version string `yaml:"version"` Log log.Config `yaml:"log"` Addr string `yaml:"addr"` Gossip gossip.Config `yaml:"gossip"` Storage storage.Config `yaml:"storage"` Profiling bool `yaml:"profiling"` DataDir string `yaml:"datadir"` ConfigDirectory string `yaml:"-"` }
func ParseBeskarStaticConfig ¶
func ParseBeskarStaticConfig(dir string) (*BeskarStaticConfig, error)
func (BeskarStaticConfig) ListenIP ¶
func (bc BeskarStaticConfig) ListenIP() (string, error)
func (BeskarStaticConfig) ListenPort ¶
func (bc BeskarStaticConfig) ListenPort() (string, error)
type BeskarStaticConfigV1 ¶
type BeskarStaticConfigV1 BeskarStaticConfig
Click to show internal directories.
Click to hide internal directories.