common

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidDomainType = fmt.Errorf("invalid domain type")
)

Functions

func EqualSlices

func EqualSlices[P comparable](s1, s2 []P) bool

func ParseBytesAmount

func ParseBytesAmount(s string) (uint64, error)

Types

type DomainType

type DomainType uint8

DomainType is a enumeration type for the different data domains for which a blob can exist between

const (
	BinaryDomain DomainType = iota
	PolyDomain
	UnknownDomain
)

func StrToDomainType

func StrToDomainType(s string) DomainType

Jump to

Keyboard shortcuts

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