config: add comments [skip ci]
This commit is contained in:
parent
ab93161867
commit
2e49dd58d7
@ -103,6 +103,7 @@ var (
|
||||
quiet bool
|
||||
)
|
||||
|
||||
// Load attempts to parse the Dhall configuration, returns (nil, err) on error.
|
||||
func Load(conf string, isPath bool) (*Config, error) {
|
||||
var config Config
|
||||
|
||||
@ -187,6 +188,7 @@ func Load(conf string, isPath bool) (*Config, error) {
|
||||
return &config, nil
|
||||
}
|
||||
|
||||
// SessionSecretsAreHex returns whether session secrets are hex-encoded.
|
||||
func (c *Config) SessionSecretsAreHex() (bool, bool) {
|
||||
return authSecretIsHex, encrSecretIsHex
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user