package
Version:
v0.0.0-...-9a745d8
Opens a new window with list of versions in this module.
Published: Nov 7, 2021
License: MIT
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Env string `yaml:"env" toml:"env"`
Port int `yaml:"port" toml:"port"`
Logger Logger `yaml:"logger" toml:"logger"`
Database map[string]Database `yaml:"database" toml:"database"`
}
type Database struct {
Type string `yaml:"type" toml:"type"`
DSN string `yaml:"dsn" toml:"dsn"`
}
type Logger struct {
Level string `yaml:"level" toml:"level"`
Path string `yaml:"path" toml:"path"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.