package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Apr 26, 2023
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Port int `yaml:"port"`
Storage Storage `yaml:"storage"`
}
Load the configuration from the different sources (default, file and environment).
type S3 struct {
Bucket string `yaml:"bucket"`
Region string `yaml:"region"`
Endpoint string `yaml:"endpoint"`
}
type Storage struct {
S3 S3 `yaml:"s3"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.