Versions in this module Expand all Collapse all v1 v1.5.7 Sep 18, 2024 Changes in this version + func Constructor(tab lua.UserKV) + func IPHelper(L *lua.LState) addr + type ICMP struct + Checksum uint16 + Code uint8 + ID uint16 + Seq uint16 + Typ uint8 + type ReplyICMP struct + Addr *net.IPAddr + Cnt int + Err error + Packet ICMP + TTL uint8 + Time int64 + func NewPing(dst string) ReplyICMP + func (r ReplyICMP) AssertFloat64() (float64, bool) + func (r ReplyICMP) AssertFunction() (*lua.LFunction, bool) + func (r ReplyICMP) AssertString() (string, bool) + func (r ReplyICMP) Hijack(fsm *lua.CallFrameFSM) bool + func (r ReplyICMP) IP() string + func (r ReplyICMP) Index(L *lua.LState, key string) lua.LValue + func (r ReplyICMP) String() string + func (r ReplyICMP) Type() lua.LValueType + type URL struct + func NewURL(raw string) (URL, error) + func (u *URL) Bool(key string) bool + func (u *URL) Host() string + func (u *URL) Hostname() string + func (u *URL) Int(key string) int + func (u *URL) IsNil() bool + func (u *URL) Port() int + func (u *URL) Ports() []int + func (u *URL) R(key string) map[int]struct{} + func (u *URL) Scheme() string + func (u *URL) String() string + func (u *URL) Value(key string) string + func (v *URL) V4() bool + func (v *URL) V6() bool v1.5.6 Sep 14, 2024 v1.5.5 Sep 14, 2024 Changes in this version + func Ipv4(addr string) bool + func Ipv6(addr string) bool