nacosx

package
v0.0.0-...-a5c60e6 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func NewConfigClient

func NewConfigClient(config *Config) (config_client.IConfigClient, error)

func NewConfigClients

func NewConfigClients(configs Configs) (map[string]config_client.IConfigClient, error)

func NewRegistryClient

func NewRegistryClient(config *Config) (naming_client.INamingClient, error)

func NewRegistryClients

func NewRegistryClients(configs Configs) (map[string]naming_client.INamingClient, error)

Types

type Config

type Config struct {
	Address   string `mapstructure:"address" json:"address" yaml:"address"`
	Port      uint64 `mapstructure:"port" json:"port" yaml:"port"`
	DataID    string `mapstructure:"data_id" json:"data_id" yaml:"data_id"`
	Group     string `mapstructure:"group" json:"group" yaml:"group"`
	Namespace string `mapstructure:"namespace" json:"namespace" yaml:"namespace"`
}

type Configs

type Configs map[string]*Config

Jump to

Keyboard shortcuts

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