nacos

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddListen

func AddListen(configs ...interface{})

func GetAppIns

func GetAppIns(serviceName 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