socket

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2019 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Common added in v0.7.0

type Common struct {
	// Type of message being passed
	Type string `json:"type"`
}

Common is the normal data for messages passed on the console socket.

type Response

type Response struct {
	Common

	// Message is a phrase describing the response.
	Message string `json:"message,omitempty"`
}

Response is the normal data for response messages.

type TerminalRequest

type TerminalRequest struct {
	Common

	// Container ID for the container whose pseudoterminal master is being set.
	Container string `json:"container"`
}

TerminalRequest is the normal data for messages passing a pseudoterminal master.

Jump to

Keyboard shortcuts

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