6
1
mirror of https://git.mills.io/saltyim/saltyim.git synced 2024-07-05 09:31:25 +00:00
prologic-saltyim/internal/config.go

18 lines
348 B
Go
Raw Normal View History

package internal
// Config contains the server configuration parameters
type Config struct {
Debug bool
Store string
}
// Validate validates the configuration is valid which for the most part
// just ensures that default secrets are actually configured correctly
func (c *Config) Validate() error {
if c.Debug {
return nil
}
return nil
}