server

package
v2.2.4+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2018 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ON_CONNECTION    = "connection"
	ON_DISCONNECTION = "disconnection"
	ON_ERROR         = "error"

	OUTPUT_EVENT = "output"
	INPUT_EVENT  = "input"
	RESIZE_EVENT = "resize"

	COMMAND_QUERY = "command"
	ARGS_QUERY    = "args"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionServer

type ConnectionServer struct {
}

func NewConnectionServer

func NewConnectionServer() *ConnectionServer

func (*ConnectionServer) ServeHTTP

func (s *ConnectionServer) ServeHTTP(w http.ResponseWriter, req *http.Request)

type TTYServer

type TTYServer struct {
	*socketio.Server
}

func NewTTYServer

func NewTTYServer(s *session.SSession) (*TTYServer, error)

Jump to

Keyboard shortcuts

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