Documentation ¶
Index ¶
Constants ¶
View Source
const ( ErrorOpen = "Unable to open AS conf" ErrorParse = "Unable to parse AS conf" )
View Source
const ( MasterKey0 = "master0.key" MasterKey1 = "master1.key" )
View Source
const CfgName = "as.yml"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ASConf ¶
type ASConf struct { CertChainVersion int `yaml:"CertChainVersion"` PathSegmentTTL int `yaml:"PathSegmentTTL"` PropagateTime int `yaml:"PropagateTime"` RegisterPath bool `yaml:"RegisterPath"` RegisterTime int `yaml:"RegisterTime"` }
var CurrConf *ASConf
type MasterKeys ¶ added in v0.2.0
func LoadMasterKeys ¶ added in v0.2.0
func LoadMasterKeys(keyDir string) (*MasterKeys, error)
Click to show internal directories.
Click to hide internal directories.