Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Server *ServerOptions `json:"server"` Database *DatabaseOptions `json:"database"` }
Config holds the application configurations.
type DatabaseOptions ¶
type DatabaseOptions struct { User string `json:"user" pg:"user"` Password string `json:"password" pg:"password"` Host string `json:"host" pg:"host"` Port int `json:"port" pg:"port"` SSLMode string `json:"sslmode" pg:"sslmode"` }
DatabaseOptions holds the database configurations.
type ServerOptions ¶
type ServerOptions struct {
Address string `json:"address"`
}
ServerOptions holds the server configurations.
Click to show internal directories.
Click to hide internal directories.