Files
fn-serverless/api/server/config.go
2016-07-21 16:04:58 -03:00

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
}