Documentation ¶
Index ¶
- Constants
- func Checkfile() *checkfile
- func Exec() *lexec
- func File() *file
- func FileMove(src, trg string) error
- func Forward(targetaddr, targetnetwork *string, listenaddr string) (closef func(), msg_chan chan ForwardMsg)
- func GetRV(i *[]interface{}, num int) []interface{}
- func Json() *json
- func Logf() *logl
- func MasterDomain(url_s string) (string, error)
- func Md5() *md5l
- func Net() *netl
- func RZip() *rZip
- func Rand() *random
- func Sys() *sys
- func Zip() *lzip
- type Filel
- type ForwardMsg
Constants ¶
View Source
const ( ErrorMsg = iota AcceptMsg PortMsg )
Variables ¶
This section is empty.
Functions ¶
func Forward ¶ added in v0.3.36
func Forward(targetaddr, targetnetwork *string, listenaddr string) (closef func(), msg_chan chan ForwardMsg)
func MasterDomain ¶ added in v0.3.36
Types ¶
type Filel ¶
type Filel struct { File string //src Loc int64 //WriteOrRead loc ;0:rewrite Or read all;-1 write on end ReadNum int64 Context []interface{} //Write string // wrap with encoder/decoder //https://pkg.go.dev/golang.org/x/text/encoding WrapWriter func(io.Writer) io.Writer // contains filtered or unexported fields }
type ForwardMsg ¶ added in v0.3.36
type ForwardMsg struct { Type int Msg interface{} }
when Type is ErrorMsg, Msg is set to error when Type is AcceptMsg, Msg is set to nil when Type is PortMsg, Msg is set to Listen Port(int)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.