Help us shape the future of Go! Take the 2026 Go Developer Survey

pipe

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Commands

func Commands(con *repl.Console) []*cobra.Command

Commands initializes and returns all pipe-related commands.

func PipeClose

func PipeClose(rpc clientrpc.MaliceRPCClient, session *core.Session, name string) (*clientpb.Task, error)

func PipeCloseCmd

func PipeCloseCmd(cmd *cobra.Command, con *repl.Console) error

PipeCloseCmd closes a named pipe.

func PipeRead

func PipeRead(rpc clientrpc.MaliceRPCClient, session *core.Session, name string) (*clientpb.Task, error)

func PipeReadCmd

func PipeReadCmd(cmd *cobra.Command, con *repl.Console) error

PipeReadCmd reads data from a named pipe.

func PipeUpload

func PipeUpload(rpc clientrpc.MaliceRPCClient, session *core.Session, pipe string, path string) (*clientpb.Task, error)

func PipeUploadCmd

func PipeUploadCmd(cmd *cobra.Command, con *repl.Console) error

PipeUploadCmd uploads a file's content to a named pipe.

func PipeUploadRaw added in v0.1.0

func PipeUploadRaw(rpc clientrpc.MaliceRPCClient, session *core.Session, pipe, data string) (*clientpb.Task, error)

func Register

func Register(con *repl.Console)

Register registers all pipe-related commands.

func RegisterPipeCloseFunc

func RegisterPipeCloseFunc(con *repl.Console)

func RegisterPipeReadFunc

func RegisterPipeReadFunc(con *repl.Console)

func RegisterPipeUploadFunc

func RegisterPipeUploadFunc(con *repl.Console)

注册 PipeUpload 命令

Types

This section is empty.

Jump to

Keyboard shortcuts

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