dns

package
v0.0.0-...-db9179b Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Ctx api.SDKContext
}

func (Server) Config

func (dns Server) Config() *configServer

ConfigServer 配置中心

func (Server) Consumer

func (dns Server) Consumer(namespace string) *discover.ConsumerServer

DiscoverServer 注册中心 - 发现服务

func (Server) Provider

func (dns Server) Provider(namespace, service, ip string, port uint16) *providerServer

DiscoverServer 注册中心 - 注册服务

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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