types

package
v1.2.4-0...-819701f Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	OPTION_TYPE_UP = iota
	OPTION_TYPE_DOWN
	OPTION_TYPE_STAT
	OPTION_TYPE_ATTACH
)
View Source
const (
	APP_TYPE_SSH = iota
	APP_TYPE_VNC
	APP_TYPE_SCP
	APP_TYPE_SFS
	APP_TYPE_PROXY
	APP_TYPE_STAT
	APP_TYPE_VNC_SERVICE
	APP_TYPE_MESSAGER
	APP_TYPE_TRANSFER_SERVICE
	APP_TYPE_TRANSFER
)
View Source
const (
	SIG_TYPE_UNKNOWN = iota
	SIG_TYPE_CANDIDATE
	SIG_TYPE_ANSWER
	SIG_TYPE_OFFER
)

some signaling request type

Variables

This section is empty.

Functions

This section is empty.

Types

type PoolId

type PoolId struct {
	Value     int64
	Direction int32
	ImplCode  int32
}

func NewPoolId

func NewPoolId(id int64, impc int32) *PoolId

func (*PoolId) Raw

func (pd *PoolId) Raw() int64

func (*PoolId) String

func (pd *PoolId) String(direct int32) string

type SignalingInfo

type SignalingInfo struct {
	Flag              int    `json:"flag"`
	Source            string `json:"source"`
	SDP               string `json:"sdp"`
	Candidate         []byte `json:"candidate"`
	Id                PoolId `json:"id"`
	Target            string `json:"target"`
	PeerType          int32  `json:"peer_type"`
	RemoteRequestType int32  `json:"remote_request_type"`
}

type Status

type Status struct {
	StartTime    time.Time
	TargetId     string
	ImplType     int32
	PairId       string
	ParentPairId string
}

Jump to

Keyboard shortcuts

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