Versions in this module Expand all Collapse all v0 v0.0.1 Mar 12, 2024 Changes in this version + func NewTcpAgent(addr string, receiver kiwi.FnAgentBytes, options ...kiwi.AgentOption) *tcpAgent + func NewTcpDialer(name, addr string, receiver kiwi.FnAgentBytes, options ...kiwi.AgentOption) kiwi.IDialer + func NewTcpListener(addr string, onConn func(conn net.Conn)) kiwi.IListener + func NewUdpAgent(addr string, receiver kiwi.FnAgentBytes, options ...kiwi.AgentOption) *udpAgent + func NewUdpDialer(name, addr string, receiver kiwi.FnAgentBytes, options ...kiwi.AgentOption) kiwi.IDialer + func NewUdpListener(addr string, onConn func(conn net.Conn)) kiwi.IListener + func NewWebAgent(addr string, msgType int, receiver kiwi.FnAgentBytes, ...) *webAgent + func NewWebDialer(url string, header http.Header, msgType int, receiver kiwi.FnAgentBytes, ...) kiwi.IDialer + func NewWebListener(onConn func(conn *websocket.Conn), opts ...WebOption) kiwi.IListener + type WebOption func(option *webOption) + func WebAddr(addr string) WebOption + func WebResHeader(header http.Header) WebOption + func WebUpgrader(fn func(*websocket.Upgrader)) WebOption