Newer
Older
package keys
type KeysConfig struct {
GRPCServiceEnabled bool
AllowBadFilePermissions bool
RemoteAddress string
KeysDirectory string
}
func DefaultKeysConfig() *KeysConfig {
return &KeysConfig{
// Default Monax keys port
GRPCServiceEnabled: true,
AllowBadFilePermissions: false,
RemoteAddress: "",
KeysDirectory: DefaultKeysDir,