mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
16 lines
271 B
Go
16 lines
271 B
Go
package models
|
|
|
|
type Config struct {
|
|
DatabaseURL string `json:"db"`
|
|
API string `json:"api"`
|
|
Logging struct {
|
|
To string `json:"to"`
|
|
Level string `json:"level"`
|
|
Prefix string `json:"prefix"`
|
|
}
|
|
}
|
|
|
|
func (c *Config) Validate() error {
|
|
return nil
|
|
}
|