Documentation ¶
Index ¶
- Constants
- func NewForward(addr *netip.AddrPort) ont.Onion
- type Forward
- func (x *Forward) Account(res *sess.Data, sm *sess.Manager, s *sessions.Data, last bool) (skip bool, sd *sessions.Data)
- func (x *Forward) Decode(s *splice.Splice) (e error)
- func (x *Forward) Encode(s *splice.Splice) error
- func (x *Forward) GetOnion() interface{}
- func (x *Forward) Handle(s *splice.Splice, p ont.Onion, ng ont.Ngin) (e error)
- func (x *Forward) Len() int
- func (x *Forward) Magic() string
- func (x *Forward) Wrap(inner ont.Onion)
Constants ¶
View Source
const ( ForwardMagic = "forw" ForwardLen = magic.Len + 1 + splice.AddrLen )
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.