http

package
v1.0.20 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2022 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoLoadApolloConf

func DoLoadApolloConf(host, service, cluster, token string, space []string) (map[string]string, error)

func LoadApolloConf

func LoadApolloConf(service string, space []string) (map[string]string, error)

LoadApolloConf example: LoadApolloConf("777", []string{"application"})

Types

type AppoloConf

type AppoloConf struct {
	AppId          string            `json:"appId"`
	Cluster        string            `json:"cluster"`
	NamespaceName  string            `json:"namespaceName"`
	Configurations map[string]string `json:"configurations"`
	ReleaseKey     string            `json:"releaseKey"`
}

Jump to

Keyboard shortcuts

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