visedriver/config/reporter_noop.go

19 lines
336 B
Go

//go:build !configreport
package config
type Config struct{}
func NewConfig() *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) {}