config

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2023 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	JAEGER_SERVER  = "JAEGER_SERVER"
	SESSION_ID_KEY = "SESSION_ID_KEY"
	REQUEST_ID_KEY = "REQUEST_ID_KEY"
	USER_ID_KEY    = "USER_ID_KEY"
	APP_ID         = "APP_ID"
	ENV_TYPE       = "ENV_TYPE"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

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

Config 配置

func New

func New(viper *viper.Viper) *Config

New 新配置

func (*Config) Load

func (c *Config) Load() error

Load 加载配置

Jump to

Keyboard shortcuts

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