status

package
v0.14.1 Latest Latest
Warning

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

Go to latest
Published: May 21, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PlayerServers = []string{
	"https://player1.lbryplayer.xyz",
	"https://player2.lbryplayer.xyz",
	"https://player3.lbryplayer.xyz",
	"https://player4.lbryplayer.xyz",
	"https://player5.lbryplayer.xyz",
	"https://player6.lbryplayer.xyz",
}

Functions

func GetStatus

func GetStatus(w http.ResponseWriter, req *http.Request)

func WhoAMI

func WhoAMI(w http.ResponseWriter, req *http.Request)

Types

type ServerItem

type ServerItem struct {
	Address string `json:"address"`
	Status  string `json:"status"`
	Error   string `json:"error,omitempty"`
}

type ServerList

type ServerList []ServerItem

Jump to

Keyboard shortcuts

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