gossh

package
v0.0.0-...-d4179d9 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2018 License: GPL-3.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CmdTask

type CmdTask struct {
	// contains filtered or unexported fields
}

func (*CmdTask) Exec

func (t *CmdTask) Exec(res chan TaskResult, session *ssh.Session)

func (*CmdTask) Init

func (t *CmdTask) Init(tdesc TaskDesc) Task

func (*CmdTask) SubTask

func (t *CmdTask) SubTask() []TaskDesc

func (*CmdTask) Timeout

func (t *CmdTask) Timeout() time.Duration

type DownloadTask

type DownloadTask struct {
	// contains filtered or unexported fields
}

func (*DownloadTask) Exec

func (t *DownloadTask) Exec(session *ssh.Session) TaskResult

func (*DownloadTask) SubTask

func (t *DownloadTask) SubTask() []TaskDesc

type ESTask

type ESTask struct {
	// contains filtered or unexported fields
}

func (*ESTask) Exec

func (t *ESTask) Exec(res chan TaskResult, session *ssh.Session)

func (*ESTask) Init

func (t *ESTask) Init(tdesc TaskDesc) Task

func (*ESTask) SubTask

func (t *ESTask) SubTask() []TaskDesc

func (*ESTask) Timeout

func (t *ESTask) Timeout() time.Duration

type Sip

type Sip struct {

	// From log header
	Aparty string `json:"aparty"`
	Bparty string `json:"bparty"`
	Time   string `json:"time"`

	// From SIP body
	Protocol     string `json:"protocol"`
	Direction    string `json:"direction"`
	Sip_type     string `json:"sip_type"`
	Sip_code     string `json:"sip_code"`
	From         string `json:"from"`
	To           string `json:"to"`
	Via          string `json:"via"`
	Call_id      string `json:"call-id"`
	User_agent   string `json:"user-agent"`
	Content_type string `json:"content-type"`
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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