input

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Enabled bool

Functions

func InitInput

func InitInput(addr string) error

InitInput 初始化输入,在指定地址上监听

Types

type Input

type Input struct {
	Cmd  string
	Args []string
	Data []byte
	Peer net.Conn
}

func GetSingleInput

func GetSingleInput() (*Input, bool)

GetSingleInput 从input栈中取出一个值,并返回,若没有需要处理的值,则返回nil, false

Jump to

Keyboard shortcuts

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