memberlist

package
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HandleFunc

func HandleFunc(aq querier.AgentQuerier) http.HandlerFunc

HandleFunc returns the function which can handle queries issued by the memberlist command.

Types

type Response

type Response struct {
	NodeName string `json:"nodeName,omitempty"`
	IP       string `json:"ip,omitempty"`
	Status   string `json:"status,omitempty"`
}

Response describes the response struct of memberlist command.

func (Response) GetTableHeader

func (r Response) GetTableHeader() []string

func (Response) GetTableRow

func (r Response) GetTableRow(_ int) []string

func (Response) SortRows

func (r Response) SortRows() bool

Jump to

Keyboard shortcuts

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