Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Env string `envconfig:"ENVIRONMENT" default:"development"` ListenAddress string `envconfig:"LISTEN_ADDRESS" default:"127.0.0.1:8080"` CanonicalURL string `envconfig:"CANONICAL_URL" default:"http://localhost:8080"` FacebookClientId string `envconfig:"FACEBOOK_CLIENT_ID" required:"true"` FacebookClientSecret string `envconfig:"FACEBOOK_CLIENT_SECRET" required:"true"` RedditClientId string `envconfig:"REDDIT_CLIENT_ID" required:"true"` RedditClientSecret string `envconfig:"REDDIT_CLIENT_SECRET" required:"true"` GoogleClientId string `envconfig:"GOOGLE_CLIENT_ID" required:"true"` GoogleClientSecret string `envconfig:"GOOGLE_CLIENT_SECRET" required:"true"` GitHubClientId string `envconfig:"GITHUB_CLIENT_ID" required:"true"` GitHubClientSecret string `envconfig:"GITHUB_CLIENT_SECRET" required:"true"` MongoURL string `envconfig:"MONGO_URL" default:"localhost"` SteemdDisabled bool `envconfig:"STEEMD_DISABLED"` SteemdRPCEndpointAddress string `envconfig:"STEEMD_RPC_ENDPOINT_ADDRESS" default:"ws://localhost:8090"` }
Click to show internal directories.
Click to hide internal directories.