registry

package
v0.0.0-...-0b7460b Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultBaseDir = "joymicro/services"
View Source
var NameSpace = ""

Functions

func GetEtcdRegistryClientPlugin

func GetEtcdRegistryClientPlugin(service string, etcdServerAddrs []string) xclient.ServiceDiscovery

func GetEtcdRegistryServerPlugin

func GetEtcdRegistryServerPlugin(key string, serviceAddr string, etcdAddress []string, hbInterval time.Duration) (server.Plugin, error)

todo etcd插件不支持注册函数服务

func SetDefaultBaseDir

func SetDefaultBaseDir(dir string)

func SetNameSpace

func SetNameSpace(ns string)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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