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