driver

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metadata

type Metadata []byte

Metadata wraps the byte representation of a lower level metadata.

func (Metadata) Bytes

func (id Metadata) Bytes() []byte

Bytes returns the byte representation of this metadata

func (Metadata) Equal

func (id Metadata) Equal(id2 Metadata) bool

Equal return true if the identities are the same

func (Metadata) Hash

func (id Metadata) Hash() string

Hash returns the hash of this metadata

func (Metadata) IsNone

func (id Metadata) IsNone() bool

IsNone returns true if this metadata is empty

func (Metadata) String

func (id Metadata) String() string

String returns a string representation of this metadata

func (Metadata) UniqueID

func (id Metadata) UniqueID() string

UniqueID returns a unique identifier of this metadata

type Token

type Token []byte

Token wraps the byte representation of a lower level token.

func (Token) Bytes

func (id Token) Bytes() []byte

Bytes returns the byte representation of this token

func (Token) Equal

func (id Token) Equal(id2 Token) bool

Equal return true if the identities are the same

func (Token) Hash

func (id Token) Hash() string

Hash returns the hash of this token

func (Token) IsNone

func (id Token) IsNone() bool

IsNone returns true if this token is empty

func (Token) String

func (id Token) String() string

String returns a string representation of this token

func (Token) UniqueID

func (id Token) UniqueID() string

UniqueID returns a unique identifier of this token

type Type

type Type = int32

Jump to

Keyboard shortcuts

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