v1

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BearerAuthnTokenKey = "BearerAuthnToken"
	BasicAuthnKey       = "BasicAuthn"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics

type Metrics struct {
	OS             string           `json:"system"`
	Time           string           `json:"time"`
	Cpu            string           `json:"cpu"`
	Mem            string           `json:"mem"`
	Disk           string           `json:"disk"`
	StatusList     []*WebServerInfo `json:"status-list"`
	BifrostVersion string           `json:"bifrost-version"`
}

type Response

type Response struct {
	Message string `json:"message"`
}

type ServerName

type ServerName struct {
	Name string `json:"name"`
}

type ServerNames

type ServerNames []ServerName

type State

type State int
const (
	UnknownState State = iota
	Disabled
	Initializing
	Abnormal
	Normal
)

type Statistics

type Statistics struct {
	HttpSvrsNum   int              `json:"http_svrs_num"`
	HttpSvrs      map[string][]int `json:"http_svrs"`
	HttpPorts     []int            `json:"http_ports"`
	StreamSvrsNum int              `json:"stream_svrs_num"`
	StreamPorts   []int            `json:"stream_ports"`
}

type WebServerConfig

type WebServerConfig struct {
	ServerName *ServerName `json:"server-name"`
	JsonData   []byte      `json:"data"`
}

type WebServerInfo

type WebServerInfo struct {
	Name    string `json:"name"`
	Status  State  `json:"status"`
	Version string `json:"version"`
}

type WebServerLog

type WebServerLog struct {
	Lines <-chan []byte `json:"lines"`
}

type WebServerLogWatchRequest

type WebServerLogWatchRequest struct {
	ServerName          *ServerName `json:"server-name"`
	LogName             string      `json:"log-path"`
	FilteringRegexpRule string      `json:"filtering-regexp-rule"`
}

Jump to

Keyboard shortcuts

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