package
Version:
v1.1.5
Opens a new window with list of versions in this module.
Published: Jul 9, 2024
License: Unlicense
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type App struct {
Name string `yaml:"name"`
Key string `yaml:"key"`
}
type Config struct {
HTTPServer *HTTPServer `yaml:"http"`
Licence *Licence `yaml:"licence"`
Storage *Storage `yaml:"storage"`
App *App `yaml:"app"`
Database *Database `yaml:"database"`
Redis *Redis `yaml:"redis"`
Services *Services `yaml:"services"`
}
type Database struct {
Name string `yaml:"name"`
Password string `yaml:"password"`
}
type HTTPServer struct {
Domains []string `yaml:"domains"`
TLS *TLS `yaml:"tls"`
}
type Licence struct {
ID string `yaml:"id"`
Key string `yaml:"key"`
}
type Redis struct {
Password string `yaml:"password"`
}
type Services struct {
GoogleMapsApiKey string `yaml:"google_maps_api_key"`
}
type Storage struct {
Data string `yaml:"data" default:"/var/lib/node-isp/"`
Logs string `yaml:"logs" default:"/var/log/node-isp/"`
}
type TLS struct {
Email string `yaml:"email"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.