as_conf

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 31, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ErrorOpen  = "Unable to open AS conf"
	ErrorParse = "Unable to parse AS conf"
)
View Source
const CfgName = "as.yml"

Variables

This section is empty.

Functions

func Load

func Load(path string) error

func Parse

func Parse(data []byte, path string) error

Types

type ASConf

type ASConf struct {
	CertChainVersion int           `yaml:"CertChainVersion"`
	MasterASKey      util.B64Bytes `yaml:"MasterASKey"`
	PathSegmentTTL   int           `yaml:"PathSegmentTTL"`
	PropagateTime    int           `yaml:"PropagateTime"`
	RegisterPath     bool          `yaml:"RegisterPath"`
	RegisterTime     int           `yaml:"RegisterTime"`
}
var CurrConf *ASConf

func (ASConf) String

func (a ASConf) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL