Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Address string `env:"ADDRESS" envDefault:"0.0.0.0:7080"` // ResourceLocation is the location where Arkwaifu puts its resources. // The "resources" include AVG images and backgrounds. // // There will be "{config.ResourceLocation}/{resVersion}" subdirectories under ResourceLocation, which are the // resources of the specified version. ResourceLocation string `env:"RESOURCE_LOCATION" envDefault:"./arkwaifu_resource"` PostgresDSN string `env:"POSTGRES_DSN"` }
func ProvideConfig ¶
Click to show internal directories.
Click to hide internal directories.