types

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 28, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	URL_SCHEME_TCP  = "tcp"
	URL_SCHEME_TCP4 = "tcp4"
	URL_SCHEME_TCP6 = "tcp6"
	URL_SCHEME_UDP  = "udp"
	URL_SCHEME_UDP4 = "udp4"
	URL_SCHEME_UDP6 = "udp6"
	URL_SCHEME_WS   = "ws"
	URL_SCHEME_WSS  = "wss"
	URL_SCHEME_UNIX = "unix"
)
View Source
const (
	NETWORK_TCP   = "tcp"
	NETWORK_TCPv4 = "tcp4"
	NETWORK_TCPv6 = "tcp6"
	NETWORK_UDP   = "udp"
	NETWORK_UDPv4 = "udp4"
	NETWORK_UDPv6 = "udp6"
	NETWORK_UNIX  = "unix"
)
View Source
const (
	WSS_TLS_CERT = "cert"
	WSS_TLS_KEY  = "key"
)
View Source
const (
	PACK_FRAGMENT_MAX = 1500
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SocketType

type SocketType int
const (
	SocketType_TCP  SocketType = 1
	SocketType_WEB  SocketType = 2
	SocketType_UDP  SocketType = 3
	SocketType_UNIX SocketType = 4
)

func (SocketType) GoString

func (s SocketType) GoString() string

func (SocketType) String

func (s SocketType) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL