utils

package
v0.0.0-...-1a9e666 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

README

A package of Halite-related utilities.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LookupKey

func LookupKey(query string) (halite.HaliteKey, error)

Look up a private or public Halite key. This is a utility function provided by this library. This uses the Halite index files to find keys based on indexed values, such as phone, email, hash, and public keys.

func LookupPrivateKey

func LookupPrivateKey(query string) (halite.HalitePrivateKey, error)

Tries to find a private key based on its lookup

Types

type ErrKeyNotFound

type ErrKeyNotFound struct{}

func (ErrKeyNotFound) Error

func (e ErrKeyNotFound) Error() string

type NoRelatedPrivateKeyError

type NoRelatedPrivateKeyError struct{}

func (NoRelatedPrivateKeyError) Error

func (e NoRelatedPrivateKeyError) Error() string

Jump to

Keyboard shortcuts

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