registery

package
v0.0.0-...-7e69858 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	REGISTERY_TYPE_ETCD   = "registery.etcd"
	REGISTERY_TYPE_CONSUL = "registery.consul"
	REGISTERY_TYPE_PEER   = "registery.peer" // 客户端直连(比如点对点,点对多)
)

Variables

This section is empty.

Functions

func RegisterAddr

func RegisterAddr(t transport.Transport) string

Types

type Registery

type Registery interface {
	GetPlugin() server.Plugin
	Start() error
}

func NewRegistery

func NewRegistery(t string, ServerAddr string, c *gxyconfig.Configuration) (Registery, error)

Jump to

Keyboard shortcuts

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