Documentation
¶
Index ¶
Constants ¶
View Source
const ServerPort = 3492
ServerPort the port server listens to
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
}
Client a client to work with the server interface
type DeleteMessageHandler ¶
type DeleteMessageHandler func(cmd *DeletePayload)
DeleteMessageHandler handle the delete operation
type DeletePayload ¶
DeletePayload delete file information
type MoveMessageHandler ¶
type MoveMessageHandler func(cmd *MovePayload)
MoveMessageHandler handle the move operation
type MovePayload ¶
type MovePayload struct {
Type string
Temp string
Target string
Exe string
Arguments []string
CanKill bool
ProcessId int32
}
MovePayload move file information
type Server ¶
type Server struct {
MoveHandler MoveMessageHandler
DeleteHandler DeleteMessageHandler
// contains filtered or unexported fields
}
Server struct for handling delete and move operation
Click to show internal directories.
Click to hide internal directories.