Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
Config specifies the configuration for an API server instance.
func NewConfigFromEnv ¶
NewConfigFromEnv attempts to construct a new Config using data from environment variables.
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a wrapper for http.Server that exposes our app's endpoints.
type Tier ¶
type Tier string
Tier represents a different instance of this application.
const ( // TierProduction represents the production tier of this app running // at app.teamxiv.space. TierProduction Tier = "prod" // TierDevelopment represents the development tier of this app running // at dev.teamxiv.space. TierDevelopment Tier = "dev" // TierLocal represents the local tier of this app running on your local // computer inside of Docker. TierLocal Tier = "local" )
Click to show internal directories.
Click to hide internal directories.