config

package
v0.0.0-...-f59cc51 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Conf

type Conf interface {
	GetSystemConfig() *System
}

type Helper

type Helper struct {
	System
}

func (Helper) GetSystemConfig

func (ch Helper) GetSystemConfig() *System

type System

type System struct {
	Name           string `mapstructure:"name"`
	DSN            string `mapstructure:"dsn"`
	PprofHost      string `mapstructure:"pprof-host"`
	JaegerHost     string `mapstructure:"jaeger-host"`
	ServerPort     string `mapstructure:"server-port"`
	HttpPort       string `mapstructure:"http-port"`
	PrometheusHost string `mapstructure:"prometheus-host"`
}

Jump to

Keyboard shortcuts

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