You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
OneAuth/cfg/cfg.go

22 lines
490 B
Go

//
// cfg.go
// Copyright (C) 2024 veypi <i@veypi.com>
// 2025-03-04 16:08:06
// Distributed under terms of the MIT license.
//
package cfg
type config struct {
Host string `json:"host"`
Port int `json:"port"`
LoggerPath string `json:"logger_path,omitempty"`
LoggerLevel string `json:"logger_level,omitempty"`
DSN string `json:"dsn"`
DB string `json:"db"`
ID string `json:"id"`
Key string `json:"key"`
}
var Config = &config{}