Versions in this module Expand all Collapse all v1 v1.6.4 Jun 2, 2022 Changes in this version + var ErrInvalidConfig = errors.New("config: invalid configuration") + var ErrMissingCertificatePath = errors.New("config: root is missing certificate path") + var ErrMissingConfigPath = errors.New("config: root is missing configuration file path") + var ErrMissingPrivateKey = errors.New("config: root is missing private key spec") + var ErrUnsupportedScheme = errors.New("config: unsupported private key scheme") + type RawMap map[string]map[string]string + func ParseToRawMap(fileName string) (cfg RawMap, err error) + func (c *RawMap) SectionInConfig(section string) bool + type Root struct + ACL whitelist.NetACL + Certificate *x509.Certificate + Config *config.Signing + DB *sqlx.DB + PrivateKey crypto.Signer + func LoadRoot(cfg map[string]string) (*Root, error) + type RootList map[string]*Root + func Parse(filename string) (RootList, error)