status

package
v0.13.6 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2020 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

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