Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Debug bool PrettyLog bool PublicKeys *RSAPubKeys *ServerConfig TestMode bool }
func NewConfigFromEnv ¶
type RSAPubKeys ¶
type RSAPubKeys struct {
RSAPubKeys []RSAPubKey `yaml:"rsaPubKeys"`
}
func NewRSAPubKeys ¶
func NewRSAPubKeys(pubKey string) (*RSAPubKeys, error)
func NewRSAPubKeysFromFile ¶
func NewRSAPubKeysFromFile(reader io.Reader) (*RSAPubKeys, error)
Click to show internal directories.
Click to hide internal directories.