// // cfg.go // Copyright (C) 2024 veypi // 2025-03-04 16:08:06 // Distributed under terms of the MIT license. // package cfg import ( "github.com/veypi/vigo/contrib/config" ) type Options struct { DSN string `json:"dsn"` // Data Source Name DB string `json:"db"` // DB type: mysql, postgres, sqlite Redis config.Redis Key config.Key `json:"key"` SMS *SMSConfig `json:"sms"` } var Config = &Options{ DB: "sqlite", SMS: defaultSMS(), }