1
0
mirror of https://github.com/muety/wakapi.git synced 2023-08-10 21:12:56 +03:00

Introduce config ini.

This commit is contained in:
Ferdinand Mütsch
2019-05-16 22:51:11 +02:00
parent ecf69795ba
commit c7a8372516
3 changed files with 33 additions and 17 deletions

View File

@ -1,10 +1,13 @@
package models
import "time"
type Config struct {
Port int
DbHost string
DbUser string
DbPassword string
DbName string
DbDialect string
Port int
DbHost string
DbUser string
DbPassword string
DbName string
DbDialect string
AggregationInterval time.Duration
}