connect

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2021 License: MPL-2.0 Imports: 35 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	*base.Command

	Func string
	// contains filtered or unexported fields
}

func (*Command) AutocompleteArgs

func (c *Command) AutocompleteArgs() complete.Predictor

func (*Command) AutocompleteFlags

func (c *Command) AutocompleteFlags() complete.Flags

func (*Command) Error added in v0.1.3

func (c *Command) Error(err string)

func (*Command) Flags

func (c *Command) Flags() *base.FlagSets

func (*Command) Help

func (c *Command) Help() string

func (*Command) Run

func (c *Command) Run(args []string) (retCode int)

func (*Command) Synopsis

func (c *Command) Synopsis() string

type ConnectionInfo

type ConnectionInfo struct {
	ConnectionsLeft int32 `json:"connections_left"`
}

type SessionInfo

type SessionInfo struct {
	Address         string    `json:"address"`
	Port            int       `json:"port"`
	Protocol        string    `json:"protocol"`
	Expiration      time.Time `json:"expiration"`
	ConnectionLimit int32     `json:"connection_limit"`
	SessionId       string    `json:"session_id"`
}

type TerminationInfo

type TerminationInfo struct {
	Reason string `json:"termination_reason"`
}

Jump to

Keyboard shortcuts

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