21 lines
416 B
Go
21 lines
416 B
Go
|
//go:build !configreport
|
||
|
|
||
|
package config
|
||
|
|
||
|
import (
|
||
|
"git.defalsify.org/vise.git/logging"
|
||
|
)
|
||
|
|
||
|
type Config struct{}
|
||
|
|
||
|
func NewConfig(logger logging.Vanilla) *Config {
|
||
|
return &Config{}
|
||
|
}
|
||
|
|
||
|
func (c *Config) AddKey(key string, defaultValue string, sensitive bool, validator func(string) error) {}
|
||
|
|
||
|
func (c *Config) GetValue(key string) (string, error) {
|
||
|
return "", nil
|
||
|
}
|
||
|
|
||
|
func (c *Config) Report(level string) {}
|