Documentation
¶
Index ¶
- func Commands(con *core.Console) []*cobra.Command
- func PipeClose(rpc clientrpc.MaliceRPCClient, session *client.Session, name string) (*clientpb.Task, error)
- func PipeCloseCmd(cmd *cobra.Command, con *core.Console) error
- func PipeRead(rpc clientrpc.MaliceRPCClient, session *client.Session, name string) (*clientpb.Task, error)
- func PipeReadCmd(cmd *cobra.Command, con *core.Console) error
- func PipeServer(rpc clientrpc.MaliceRPCClient, session *client.Session, action string, ...) (*clientpb.Task, error)
- func PipeServerCmd(cmd *cobra.Command, con *core.Console) error
- func PipeUpload(rpc clientrpc.MaliceRPCClient, session *client.Session, pipe string, ...) (*clientpb.Task, error)
- func PipeUploadCmd(cmd *cobra.Command, con *core.Console) error
- func PipeUploadRaw(rpc clientrpc.MaliceRPCClient, session *client.Session, pipe, data string) (*clientpb.Task, error)
- func Register(con *core.Console)
- func RegisterPipeCloseFunc(con *core.Console)
- func RegisterPipeReadFunc(con *core.Console)
- func RegisterPipeServerFunc(con *core.Console)
- func RegisterPipeUploadFunc(con *core.Console)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PipeCloseCmd ¶
PipeCloseCmd closes a named pipe.
func PipeReadCmd ¶
PipeReadCmd reads data from a named pipe.
func PipeServer ¶ added in v0.3.0
func PipeServerCmd ¶ added in v0.3.0
PipeServerCmd manages pipe server operations (start, stop, list).
func PipeUpload ¶
func PipeUploadCmd ¶
PipeUploadCmd uploads a file's content to a named pipe.
func PipeUploadRaw ¶ added in v0.1.0
func RegisterPipeCloseFunc ¶
func RegisterPipeReadFunc ¶
func RegisterPipeServerFunc ¶ added in v0.3.0
RegisterPipeServerFunc registers the pipe server function with the console
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.