namingclient

package
v0.0.0-...-d0e3dbc Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2024 License: LGPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParsePortFromHost

func ParsePortFromHost(addr string) int

Types

type NamingClient

type NamingClient struct {
	// contains filtered or unexported fields
}

func NewNamingClient

func NewNamingClient(namingAddrs []string, node string) (*NamingClient, error)

func (*NamingClient) Register

func (n *NamingClient) Register(serviceName, area string, desc ServiceDesc) error

type ServiceDesc

type ServiceDesc struct {
	Port int
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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