Documentation ¶
Index ¶
- Constants
- Variables
- func ErrorText(err error) string
- func Flags(flags *flag.FlagSet)
- func LoadDeprecated(flags *flag.FlagSet)
- func RemoteIP(addr net.Addr) string
- type APIServer
- type HealthResponse
- type Info
- type MovieServer
- type SSHServer
- type Server
- type Stream
- type StreamsResponse
- type TelnetServer
Constants ¶
View Source
const ( SSHFlagPrefix = "ssh" TelnetFlagPrefix = "telnet" APIFlagPrefix = "api" EnabledFlag = "-enabled" AddressFlag = "-address" SSHHostKeyPathFlag = SSHFlagPrefix + "-host-key" SSHHostKeyDataFlag = SSHFlagPrefix + "-host-key-data" ConcurrentStreamsFlag = "concurrent-streams" TimeoutFlag = "timeout" IdleTimeoutFlag = "idle-timeout" MaxTimeoutFlag = "max-timeout" )
Variables ¶
View Source
var ErrRateLimited = errors.New("rate limited")
Functions ¶
func LoadDeprecated ¶ added in v1.8.0
Types ¶
type APIServer ¶ added in v1.8.0
type HealthResponse ¶ added in v1.5.0
type Info ¶ added in v1.5.2
type Info struct {
// contains filtered or unexported fields
}
func (*Info) GetStreams ¶ added in v1.5.2
func (*Info) StreamConnect ¶ added in v1.5.2
func (*Info) StreamDisconnect ¶ added in v1.5.2
type MovieServer ¶ added in v1.4.0
func NewMovieServer ¶ added in v1.4.0
func NewMovieServer(flags *flag.FlagSet, prefix string) MovieServer
type SSHServer ¶ added in v1.4.0
type SSHServer struct { MovieServer HostKeyPath []string HostKeyPEM []string }
type StreamsResponse ¶ added in v1.5.0
type TelnetServer ¶ added in v1.4.0
type TelnetServer struct {
MovieServer
}
func NewTelnet ¶
func NewTelnet(flags *flag.FlagSet) TelnetServer
Click to show internal directories.
Click to hide internal directories.