Documentation ¶
Index ¶
- func RegisterGob()
- type BodyCallSystem
- type BodyCallSystemResult
- type BodyClientInfo
- type BodyDuplicateClient
- type BodyDynamicTunnelCreate
- type BodyDynamicTunnelCreateFailed
- type BodyDynamicTunnelCreated
- type BodyDynamicTunnelDestroied
- type BodyDynamicTunnelDestroy
- type BodyDynamicTunnelDestroyFailed
- type BodyFileSize
- type BodyFileSizeResult
- type BodyGetClientInfo
- type BodyProcessStarted
- type BodyProcessStoped
- type BodyPullTunnelConnect
- type BodyPullTunnelConnectFailed
- type BodyPullTunnelConnected
- type BodyPullTunnelData
- type BodyPullTunnelDisconnect
- type BodyPullTunnelDisconnected
- type BodyPushTunnelConnect
- type BodyPushTunnelConnectFailed
- type BodyPushTunnelConnected
- type BodyPushTunnelCreate
- type BodyPushTunnelCreateFailed
- type BodyPushTunnelCreated
- type BodyPushTunnelData
- type BodyPushTunnelDelete
- type BodyPushTunnelDeleteFailed
- type BodyPushTunnelDeleted
- type BodyPushTunnelDisonnect
- type BodyPushTunnelDisonnectFailed
- type BodyPushTunnelDisonnected
- type BodyReadFile
- type BodyReadFileEx
- type BodyReadFileExResult
- type BodyReadFileResult
- type BodyStartProcess
- type BodyStdio
- type BodyTerminateProcess
- type BodyUpdate
- type BodyWindowSize
- type BodyWriteFile
- type BodyWriteFileEx
- type BodyWriteFileExResult
- type BodyWriteFileResult
- type Message
- type MessageType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterGob ¶
func RegisterGob()
Types ¶
type BodyCallSystem ¶
type BodyCallSystemResult ¶
type BodyClientInfo ¶
type BodyDuplicateClient ¶
type BodyDuplicateClient struct{}
type BodyDynamicTunnelCreate ¶
type BodyDynamicTunnelCreate struct{}
type BodyDynamicTunnelCreateFailed ¶
type BodyDynamicTunnelCreateFailed struct {
Reason string
}
type BodyDynamicTunnelCreated ¶
type BodyDynamicTunnelCreated struct {
Port int
}
type BodyDynamicTunnelDestroied ¶
type BodyDynamicTunnelDestroied struct{}
type BodyDynamicTunnelDestroy ¶
type BodyDynamicTunnelDestroy struct{}
type BodyDynamicTunnelDestroyFailed ¶
type BodyDynamicTunnelDestroyFailed struct {
Reason string
}
type BodyFileSize ¶
type BodyFileSizeResult ¶
type BodyGetClientInfo ¶
type BodyGetClientInfo struct{}
type BodyProcessStarted ¶
type BodyProcessStoped ¶
type BodyPullTunnelConnect ¶
type BodyPullTunnelConnected ¶
type BodyPullTunnelConnected struct {
Token string
}
type BodyPullTunnelData ¶
type BodyPullTunnelDisconnect ¶
type BodyPullTunnelDisconnect struct {
Token string
}
type BodyPullTunnelDisconnected ¶
type BodyPullTunnelDisconnected struct {
Token string
}
type BodyPushTunnelConnect ¶
type BodyPushTunnelConnected ¶
type BodyPushTunnelConnected struct {
Token string
}
type BodyPushTunnelCreate ¶
type BodyPushTunnelCreate struct {
Address string
}
type BodyPushTunnelCreated ¶
type BodyPushTunnelCreated struct {
Address string
}
type BodyPushTunnelData ¶
type BodyPushTunnelDelete ¶
type BodyPushTunnelDelete struct {
Token string
}
type BodyPushTunnelDeleted ¶
type BodyPushTunnelDeleted struct {
Token string
}
type BodyPushTunnelDisonnect ¶
type BodyPushTunnelDisonnect struct {
Token string
}
type BodyPushTunnelDisonnectFailed ¶
type BodyPushTunnelDisonnectFailed struct {
Token string
}
type BodyReadFile ¶
type BodyReadFileEx ¶
type BodyReadFileExResult ¶
type BodyReadFileResult ¶
type BodyStartProcess ¶
type BodyTerminateProcess ¶
type BodyTerminateProcess struct {
Key string
}
type BodyUpdate ¶
type BodyWindowSize ¶
type BodyWriteFile ¶
type BodyWriteFileEx ¶
type BodyWriteFileExResult ¶
type BodyWriteFileResult ¶
type Message ¶
type Message struct { Type MessageType Body interface{} }
type MessageType ¶
type MessageType int
const ( // Platypus -> Termite GET_CLIENT_INFO MessageType = iota // DO NOT CHANGE OR PREPEND OPCODE BRFORE THIS OPCODE UPDATE WINDOW_SIZE DUPLICATED_CLIENT PROCESS_START PROCESS_TERMINATE PULL_TUNNEL_CONNECT PULL_TUNNEL_DISCONNECT PUSH_TUNNEL_CREATE PUSH_TUNNEL_DELETE PUSH_TUNNEL_CONNECTED PUSH_TUNNEL_CONNECT_FAILED PUSH_TUNNEL_DISCONNECTED PUSH_TUNNEL_DISCONNECT_FAILED DYNAMIC_TUNNEL_CREATE DYNAMIC_TUNNEL_DESTROY CALL_SYSTEM READ_FILE READ_FILE_EX FILE_SIZE WRITE_FILE WRITE_FILE_EX // Termite -> Platypus CLIENT_INFO PROCESS_STARTED PROCESS_STOPED PULL_TUNNEL_CONNECTED PULL_TUNNEL_CONNECT_FAILED PULL_TUNNEL_DISCONNECTED PUSH_TUNNEL_CONNECT PUSH_TUNNEL_DISCONNECT PUSH_TUNNEL_CREATED PUSH_TUNNEL_CREATE_FAILED PUSH_TUNNEL_DELETED PUSH_TUNNEL_DELETE_FAILED DYNAMIC_TUNNEL_CREATED DYNAMIC_TUNNEL_CREATE_FAILED DYNAMIC_TUNNEL_DESTROIED DYNAMIC_TUNNEL_DESTROY_FAILED CALL_SYSTEM_RESULT READ_FILE_RESULT READ_FILE_EX_RESULT FILE_SIZE_RESULT WRITE_FILE_RESULT WRITE_FILE_EX_RESULT // Platypus <-> Termite STDIO PULL_TUNNEL_DATA PUSH_TUNNEL_DATA )
Click to show internal directories.
Click to hide internal directories.