config

package
v0.0.0-...-bdd2a71 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadApiConf

func LoadApiConf(cc *Consul, ac interface{}) interface{}

func LoadRpcConf

func LoadRpcConf(cc *Consul, ttr interface{})

Types

type Consul

type Consul struct {
	Addr string `yaml:"Addr"`
	Key  string `yaml:"Key"`
}

func LoadConsulConf

func LoadConsulConf(filePath string) *Consul

type ConsulConf

type ConsulConf struct {
	Consul Consul `yaml:"Consul"`
}

Jump to

Keyboard shortcuts

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