Documentation ¶
Index ¶
Constants ¶
View Source
const HeaderLen = 56
HeaderLen is ...
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct { // Dialer is ... Dialer Dialer // Addr is ... Addr string // contains filtered or unexported fields }
Handler is ...
func NewHandler ¶
func NewHandler(server, path, password, transport, domain string, timeout time.Duration) (*Handler, error)
NewHandler is ...
func (*Handler) HandlePacket ¶
func (h *Handler) HandlePacket(conn gonet.PacketConn) error
HandlePacket is ...
type TLSDialer ¶
type TLSDialer struct { // Addr is ... Addr string // Config is ... Config tls.Config // Header is ... Header [HeaderLen + 2]byte }
TLSDialer is ...
Click to show internal directories.
Click to hide internal directories.