common

package
v3.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cluster

type Cluster struct {
	Bound  string
	Addr   HostAddr
	Subset string
}

func NewCluster

func NewCluster(clusterID string) Cluster

type HostAddr

type HostAddr struct {
	HostnameOrIP string
	Port         string
}

func NewHostNameOrIPAddr

func NewHostNameOrIPAddr(addr string) HostAddr

func (*HostAddr) Network

func (a *HostAddr) Network() string

func (*HostAddr) String

func (a *HostAddr) String() string

Jump to

Keyboard shortcuts

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