Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ConfDB ¶
type ConfDB struct {
// Username of the database
Username string `yaml:"username"`
// Password of the database
Password string `yaml:"password"`
// Host of the database
Host string `yaml:"host"`
// Port of the database
Port int `yaml:"port"`
// Name of the database to use
Name string `yaml:"name"`
}
ConfDB is the database configuration
type Configuration ¶
type Configuration struct {
// Database configuration
Database ConfDB `yaml:"database"`
// Server configuration
Server ConfSrv `yaml:"server"`
}
Configuration is the global configuration of the API server
Click to show internal directories.
Click to hide internal directories.