providerresults

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2025 License: Apache-2.0, MIT Imports: 10 Imported by: 0

Documentation

Overview

Package providerresults implements utilities for the IPNI provider result type

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Equals

func Equals(a, b model.ProviderResult) bool

Equals compares two ProviderResults

func MarshalCBOR

func MarshalCBOR(providerResult model.ProviderResult) ([]byte, error)

MarshalCBOR encodes a provider result in CBOR

func UnmarshalCBOR

func UnmarshalCBOR(data []byte) (model.ProviderResult, error)

UnmarshalCBOR decodes a provider result from CBOR-encoded bytes

Types

This section is empty.

Jump to

Keyboard shortcuts

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