apollo

package
v0.0.0-...-9e7c48d Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitApolloClient

func InitApolloClient(appId string, namespace string, cluster string, address string) *agollo.Client

Types

type ApolloConfig

type ApolloConfig struct {
	Log logger.Logger
	agollo.Client
	agcache.CacheInterface
	Namespace string
}

func (*ApolloConfig) GetString

func (ac *ApolloConfig) GetString(name string) string

func (*ApolloConfig) GetStringDefault

func (ac *ApolloConfig) GetStringDefault(name string, defaultValue string) string

Jump to

Keyboard shortcuts

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