Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrSuspended = errors.New("waiting user authorization")
View Source
var OAuth2Scopes map[string]OAuth2Scope = getOAuth2Scopes()
Functions ¶
Types ¶
type Config ¶
type Config struct { Key string KeyBytes []byte // Address to listen on Address string DBHost string DBPort int DBName string DBUsername string DBPassword string RedisAddress string RedisUsername string RedisPassword string LogRequest bool // contains filtered or unexported fields }
Config is configuration for the http server to be able to run.
func ParseViper ¶
ParseViper extract configuration from v and returns *Config.
Click to show internal directories.
Click to hide internal directories.