receiver

package
v0.0.0-...-ec5dbc7 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HeaderReceiver

type HeaderReceiver interface {
	Start(headRecvNotifChan chan<- *types.Header)
	Stop()
}

HeaderReceiver controls Ether header receiver.

func NewReceiver

func NewReceiver() HeaderReceiver

NewReceiver creates new receiver instance.

type Headers

type Headers []*types.Header

Headers is type of header array.

func (Headers) Len

func (h Headers) Len() int

func (Headers) Less

func (h Headers) Less(i, j int) bool

func (Headers) Swap

func (h Headers) Swap(i, j int)

Jump to

Keyboard shortcuts

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