end

package
v0.1.20 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2023 License: Unlicense Imports: 6 Imported by: 0

Documentation

Overview

Package end is a null tombstone type onion message that indicates there is no more data in the onion (used with encoding only).

Index

Constants

View Source
const (
	Magic = "!!!!"
	Len   = 0
)

Variables

This section is empty.

Functions

func EndGen

func EndGen() codec.Codec

Types

type End

type End struct{}

func NewEnd

func NewEnd() *End

func (*End) Account

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

func (*End) Decode

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

func (*End) Encode

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

func (*End) Handle

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

func (*End) Len

func (x *End) Len() int

func (*End) Magic

func (x *End) Magic() string

func (*End) Unwrap

func (x *End) Unwrap() interface{}

func (*End) Wrap

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

Jump to

Keyboard shortcuts

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