Go 1.9 and Iris v8, added possibility to bind to IP (#15)

This commit is contained in:
Joona Hoikkala
2017-11-12 23:40:15 +02:00
committed by GitHub
parent 0ec12dbc5f
commit c70a6cffb0
6 changed files with 37 additions and 31 deletions

View File

@ -51,6 +51,8 @@ type dbsettings struct {
// API config
type httpapi struct {
Domain string `toml:"api_domain"`
LEmail string `toml:"le_email"`
IP string
Port string
TLS string
TLSCertPrivkey string `toml:"tls_cert_privkey"`