nacos

package module
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2022 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSource

func NewSource(opts ...source.Option) source.Source

func WithAddress

func WithAddress(addrs []string) source.Option

WithAddress sets the nacos address.

func WithClientConfig

func WithClientConfig(cc constant.ClientConfig) source.Option

WithClientConfig sets the nacos config.

func WithDataId

func WithDataId(id string) source.Option

WithDataId sets nacos config dataId.

func WithGroup

func WithGroup(g string) source.Option

WithGroup sets nacos config group.

Types

This section is empty.

Jump to

Keyboard shortcuts

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