utils

package
v2.12.0-beta1 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FeedID

type FeedID [32]byte

func BytesToFeedID added in v2.8.0

func BytesToFeedID(b []byte) FeedID

func (FeedID) Hex

func (f FeedID) Hex() string

func (FeedID) IsV1

func (f FeedID) IsV1() bool

func (FeedID) IsV2

func (f FeedID) IsV2() bool

func (FeedID) IsV3

func (f FeedID) IsV3() bool

func (FeedID) String

func (f FeedID) String() string

func (*FeedID) UnmarshalText

func (f *FeedID) UnmarshalText(input []byte) error

func (FeedID) Version

func (f FeedID) Version() FeedVersion

type FeedVersion

type FeedVersion uint16
const (
	REPORT_V1 FeedVersion
	REPORT_V2
	REPORT_V3
)

Jump to

Keyboard shortcuts

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