Documentation ¶
Index ¶
- Constants
- Variables
- func Dial(network, address string, ifi *string, timeout time.Duration, ...) (net.Conn, error)
- func ExtractHostAndPort(hostport string, defaultPort int) (string, int, error)
- func GetDialer(network string, ifi *string, timeout time.Duration, keepAlive time.Duration) (*net.Dialer, error)
- func GetInferfaceDefaultAddr(name, network string) (ip net.Addr, err error)
- func Max(a, b int) int
- func Min(a, b int) int
- func Min64(x, y int64) int64
- func ParallelDialWithDialer(ctx context.Context, dialer Dialer, network, addr string, races int) (net.Conn, error)
- func ParseIPZone(s string) (net.IP, string)
- func Program_dbg_full_log(args ...interface{})
- func ReadDP(conn net.Conn) ([]byte, error)
- func StringQuote(str *string) string
- func WriteDP(conn net.Conn, p []byte, clients ...*net.Addr) error
- type DialFn
- type Dialer
- type EPRing
- type Endpoint
- type RegisteredServer
- type TLSContext
Constants ¶
View Source
const ( MinDNSPacketSize = 12 + 5 MaxDNSPacketSize = dns.MaxMsgSize MaxDNSUDPPacketSize = dns.DefaultMsgSize MaxDNSUDPSafePacketSize = 1252 STAR = "*" Delimiter = ";" )
View Source
const Program_dbg_full = false
only if deep debug e.g. raw msg dumping
Variables ¶
View Source
var AppVersion = "dev-X"
View Source
var ErrInferfaceIsDown error = errors.New("specified inferface is down")
View Source
var ErrUnknownOptType error = errors.New("unsupported opts for Dial")
Functions ¶
func ExtractHostAndPort ¶
func GetInferfaceDefaultAddr ¶
func ParallelDialWithDialer ¶
func ParallelDialWithDialer(ctx context.Context, dialer Dialer, network, addr string, races int) (net.Conn, error)
memory grows; await on goose's fixing
func Program_dbg_full_log ¶
func Program_dbg_full_log(args ...interface{})
func StringQuote ¶
Types ¶
type EPRing ¶
func LinkEPRing ¶
type Endpoint ¶
func ResolveEndpoint ¶
type RegisteredServer ¶
type RegisteredServer struct { Name string Stamp *stamps.ServerStamp }
type TLSContext ¶
Click to show internal directories.
Click to hide internal directories.