basic

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2025 License: Apache-2.0 Imports: 23 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

func Get

func Get(con *repl.Console, sess *core.Session) (*clientpb.Task, error)

func GetCmd

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

func Init

func Init(con *repl.Console, sess *core.Session) (bool, error)

func InitCmd

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

func Polling

func Polling(con *repl.Console, sess *core.Session, interval uint64, force bool, tasks []uint32) (bool, error)

func PollingCmd

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

func RecoverCmd

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

func Register

func Register(con *repl.Console)

func SessionInfoCmd added in v0.1.0

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

func Sleep

func Sleep(rpc clientrpc.MaliceRPCClient, session *core.Session, expression string, jitter float64) (*clientpb.Task, error)

func SleepCmd

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

func Suicide

func Suicide(rpc clientrpc.MaliceRPCClient, session *core.Session) (*clientpb.Task, error)

func SuicideCmd

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

func Switch added in v0.1.1

func Switch(rpc clientrpc.MaliceRPCClient, session *core.Session, urls []string) (*clientpb.Task, error)

func SwitchCmd added in v0.1.1

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

func WaitCmd

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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