# Functions
DefaultV1 returns a default V1 config, which allows anonymous read to everything.
GenerateSHA256PasswordHash generates a SHA256 based password hash.
ParseConfig parses a config from reader, and initializes internal checker(s) in the config.
# Constants
DefaultConfigFilename is the default filename for Keybase Pages config file.
DefaultConfigFilepath is the default path for Keybase Pages config file under the site root, and is what's used in kbpagesd.
PermList is the list permission.
PermRead is the read permission.
PermReadAndList allows both read and list.
Version1 is version 1.
Version1Str is the string representation of Version1.
Version2 is version 2.
Version2Str is the string representation of Version2.
VersionUnknown defines an unknown config version.
VersionUnknownStr is the string representation of VUnknown.
# Structs
AccessControlV1 defines an access control list (ACL) for the V1 config.
Common includes common fields that should appear in all versions of configs.
ErrDuplicateAccessControlPath is returned when multiple ACLs are defined for the same path in config.
ErrInvalidPermissions is returned when an invalid permissions string appears in the config.
ErrInvalidVersion is returned when Version field of the config is invalid.
ErrUndefinedUsername is returned when a username appears in a ACL but it's not defined in the config's Users section.
InvalidPasswordHash is the error that happens when there's an invalid password hash in the config.
V1 defines a V1 config.
# Interfaces
Config is a collection of methods for getting different configuration parameters.
# Type aliases
Version specifies the version of a config.