Documentation ¶
Index ¶
Constants ¶
View Source
const ( VariablePort = "MEMED_PORT" VariableDatabaseURL = "MEMED_DATABASE_URL" VariableCorsAllowOrigins = "MEMED_CORS_ALLOW_ORIGINS" VariableMemeDirectory = "MEMED_MEME_DIRECTORY" VariableUserMicroservice = "MEMED_USER_MICROSERVICE" VariableUserEndpoint = "MEMED_USER_ENDPOINT" VariableAccessSecretKey = "MEMED_ACCESS_SECRET_KEY" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Port int `json:"port,omitempty"` DatabaseURL string `json:"databaseURL,omitempty"` CorsAllowOrigins string `json:"allowOrigins,omitempty"` MemeDirectory string `json:"memeDirectory,omitempty"` UserMicroservice string `json:"userMicroservice,omitempty"` UserEndpoint string `json:"userEndpoint,omitempty"` AccessSecretKey string `json:"accessSecretKey,omitempty"` }
Click to show internal directories.
Click to hide internal directories.