pd

package
v1.6.0-alpha.8 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UpdateMemberPeerURLs

func UpdateMemberPeerURLs(addr string, id string, peerURLs []string) error

Types

type GetMembersResponse

type GetMembersResponse struct {
	Members []Member `json:"members"`
}

func GetMembersV2

func GetMembersV2(addr string) (*GetMembersResponse, error)

type Member

type Member struct {
	ID         string   `json:"id"`
	Name       string   `json:"name"`
	PeerURLs   []string `json:"peerURLs"`
	ClientURLs []string `json:"clientURLs"`
}

Jump to

Keyboard shortcuts

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