Documentation ¶
Index ¶
- type DirectBackWriter
- type Handler
- type Service
- func (s *Service[T]) NewContextPacket(ctx context.Context, key T, buffer *buf.Buffer, metadata M.Metadata, ...)
- func (s *Service[T]) NewPacket(ctx context.Context, key T, buffer *buf.Buffer, metadata M.Metadata, ...)
- func (s *Service[T]) NewPacketDirect(ctx context.Context, key T, conn N.PacketConn, buffer *buf.Buffer, ...)
- func (s *Service[T]) WriteIsThreadUnsafe()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirectBackWriter ¶
type DirectBackWriter struct { Source N.PacketConn Nat N.PacketConn }
func (*DirectBackWriter) Upstream ¶
func (w *DirectBackWriter) Upstream() any
func (*DirectBackWriter) WritePacket ¶
type Service ¶
type Service[K comparable] struct { // contains filtered or unexported fields }
func (*Service[T]) NewContextPacket ¶
func (*Service[T]) NewPacketDirect ¶
func (*Service[T]) WriteIsThreadUnsafe ¶
func (s *Service[T]) WriteIsThreadUnsafe()
Click to show internal directories.
Click to hide internal directories.