net_conf

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: May 27, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewNacosConfigClient

func NewNacosConfigClient(conf NacosConf) config_client.IConfigClient

Types

type NacosConf

type NacosConf struct {
	IPAddr      string `json:"ip_addr"`
	Port        int    `json:"port"`
	NamespaceID string `json:"namespace_id"`
	GroupName   string `json:"group_name"`
	LogDir      string `json:"log_dir"`
	CacheDir    string `json:"cache_dir"`
	RotateTime  string `json:"rotate_time"`
	MaxAge      int    `json:"max_age"`
	LogLevel    string `json:"log_level"`
	UserName    string `json:"user_name"`
	Password    string `json:"password"`
}

nacos client config struct

Jump to

Keyboard shortcuts

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