package
Version:
v0.0.0-...-fe9e027
Opens a new window with list of versions in this module.
Published: Jul 5, 2021
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Config struct {
Server *Server `yaml:"server"`
Database *Database `yaml:"database"`
Token *Token `yaml:"token"`
Logger *Logger `yaml:"logger"`
}
type Database struct {
Uri string `yaml:"uri"`
}
type Logger struct {
LogLevel string `yaml:"log_level"`
}
type Server struct {
Host string `yaml:"host"`
Port string `yaml:"port"`
}
type Token struct {
SecretKey string `yaml:"secret_key"`
PublicKey string `yaml:"public_key"`
Salt string `yaml:"salt"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.