nacos

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddListen

func AddListen(configs ...interface{})

func BuildConfigClient added in v0.1.17

func BuildConfigClient() config_client.IConfigClient

func BuildNamingClient added in v0.1.17

func BuildNamingClient() naming_client.INamingClient

func GetAppIns

func GetAppIns(serviceName string) (string, error)

func GetAppInsCallUrl added in v0.1.2

func GetAppInsCallUrl(path string) (string, error)

func GetNamingClient

func GetNamingClient() naming_client.INamingClient

func InitNacos

func InitNacos()

func LoadConfig

func LoadConfig(out interface{})

Types

type BaseWebConfig

type BaseWebConfig struct {
	ServerConfig WebServerConfig   `yaml:"server"`
	AppEnv       string            `yaml:"app-env"`  //发布环境
	AppSign      map[string]string `yaml:"app-sign"` //应用间秘钥
	AppName      string            //应用名
}
var BaseWebConfigVal *BaseWebConfig

type WebServerConfig

type WebServerConfig struct {
	Port         string `yaml:"port"`
	CookieDomain string `yaml:"cookie-domain"`
}

Jump to

Keyboard shortcuts

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