Versions in this module Expand all Collapse all v0 v0.4.0 Feb 10, 2022 Changes in this version + const MessageClose + const MessageConnectRequest + const MessageConnectResponse + const MessageHostPingRequest + const MessageHostPingResponse + const MessageInfoReply + const MessageInfoRequest + const MessageListenerBindRequest + const MessageListenerBindResponse + const MessageListenerCloseRequest + const MessageListenerCloseResponse + const MessageListenerRequest + const MessageListenerResponse + const MessageListenerSockRequest + const MessageListenerSockResponse + const Networkv4 + const Networkv6 + const TransportTCP + const TransportUDP + type ConnectRequestPacket struct + Address string + Net uint8 + Port uint16 + Transport uint8 + type ConnectResponsePacket struct + Established bool + Reset bool + type Envelope struct + Payload interface{} + Size int32 + Type uint8 + type HostPingRequestPacket struct + Address string + type HostPingResponsePacket struct + Alive bool + type InfoReplyPacket struct + Interfaces []NetInterface + Name string + type InfoRequestPacket struct + type LigoloDecoder struct + Envelope Envelope + func NewDecoder(reader io.Reader) LigoloDecoder + func (d *LigoloDecoder) Decode() error + type LigoloEncoder struct + func NewEncoder(writer io.Writer) LigoloEncoder + func (e *LigoloEncoder) Encode(envelope Envelope) error + type ListenerBindPacket struct + ListenerID int32 + type ListenerBindReponse struct + Err bool + ErrString string + SockID int32 + type ListenerCloseRequestPacket struct + ListenerID int32 + type ListenerCloseResponsePacket struct + Err bool + ErrString string + type ListenerRequestPacket struct + Address string + Network string + type ListenerResponsePacket struct + Err bool + ErrString string + ListenerID int32 + type ListenerSockRequestPacket struct + SockID int32 + type ListenerSockResponsePacket struct + Err bool + ErrString string + type NetInterface struct + Addresses []string + Flags net.Flags + HardwareAddr net.HardwareAddr + Index int + MTU int + Name string + func NewNetInterfaces(netif []net.Interface) (out []NetInterface)