test

package
v2.16.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 6, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	// contains filtered or unexported fields
}

func InitMockCfg

func InitMockCfg(v *viper.Viper) (*Config, error)

func (*Config) Get

func (c *Config) Get(name string) interface{}

func (*Config) GracefulTimeout

func (c *Config) GracefulTimeout() time.Duration

func (*Config) Has

func (c *Config) Has(name string) bool

func (*Config) Overwrite

func (c *Config) Overwrite(values map[string]interface{}) error

func (*Config) RRVersion

func (c *Config) RRVersion() string

func (*Config) Unmarshal

func (c *Config) Unmarshal(out interface{}) error

func (*Config) UnmarshalKey

func (c *Config) UnmarshalKey(name string, out interface{}) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL