package
0.0.0-20241002170041-88591676c97d
Repository: https://github.com/gptlocal/netools.git
Documentation: pkg.go.dev

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ContextWithID returns a new context with the given ID.
No description provided by the author
ContextWithMuxPrefered returns a new context with the given bool.
No description provided by the author
ContextWithSockopt returns a new context with Socket configs included.
No description provided by the author
No description provided by the author
ExportIDToError transfers session.ID into an error object, for logging purpose.
No description provided by the author
IDFromContext returns ID in this context, or 0 if not contained.
No description provided by the author
go:linkname IndependentCancelCtx context.newCancelCtx.
MuxPreferedFromContext returns value in this context, or false if not contained.
NewID generates a new ID.
No description provided by the author
No description provided by the author
SockoptFromContext returns Socket configs in this context, or nil if not contained.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Content is the metadata of the connection content.
Inbound is the metadata of an inbound connection.
Outbound is the metadata of an outbound connection.
SniffingRequest controls the behavior of content sniffing.
Sockopt is the settings for socket connection.

# Interfaces

No description provided by the author

# Type aliases

ID of a session.