reverse

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2023 License: Unlicense Imports: 15 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ReverseMagic = "rvrs"
)

Variables

This section is empty.

Functions

func NewReverse

func NewReverse(ip *netip.AddrPort) ont.Onion

Types

type Reverse

type Reverse struct {
	AddrPort *netip.AddrPort
	ont.Onion
}

func (*Reverse) Account

func (x *Reverse) Account(res *sess.Data, sm *sess.Manager,
	s *sessions.Data, last bool) (skip bool, sd *sessions.Data)

func (*Reverse) Decode

func (x *Reverse) Decode(s *splice.Splice) (e error)

func (*Reverse) Encode

func (x *Reverse) Encode(s *splice.Splice) (e error)

func (*Reverse) GetOnion

func (x *Reverse) GetOnion() interface{}

func (*Reverse) Handle

func (x *Reverse) Handle(s *splice.Splice, p ont.Onion, ng ont.Ngin) (e error)

func (*Reverse) Len

func (x *Reverse) Len() int

func (*Reverse) Magic

func (x *Reverse) Magic() string

func (*Reverse) Wrap

func (x *Reverse) Wrap(inner ont.Onion)

Jump to

Keyboard shortcuts

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