apollo

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApolloConfig

func NewApolloConfig(opts ...Option) (hconf.DataSource, error)

func NewOptions

func NewOptions(opts ...Option) *options

Types

type Option

type Option func(*options)

func WithAddr

func WithAddr(addr string) Option

func WithAppid

func WithAppid(appid string) Option

func WithCluster

func WithCluster(cluster string) Option

func WithContext

func WithContext(ctx context.Context) Option

func WithIsBackupConfig

func WithIsBackupConfig(isBackupConfig bool) Option

func WithNamespace

func WithNamespace(namespace string) Option

func WithSecret

func WithSecret(secret string) Option

Jump to

Keyboard shortcuts

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