storage

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 7 Imported by: 2

Documentation

Index

Constants

View Source
const (
	ALIAS_SCHEME        = "alias"
	ALIAS_SCHEME_PREFIX = "alias:"
	BC_SCHEME           = "bc"
	BC_SCHEME_PREFIX    = "bc:"
)

Variables

View Source
var ErrInvalidURI = errors.New("invalid URI")

ErrInvalidURI may be thrown when trying to parse a URI that is not supported by this repository.

Functions

This section is empty.

Types

type AliasURI

type AliasURI interface {
	fyne.URI
	Alias() string
}

func NewAliasURI

func NewAliasURI(alias string) AliasURI

type BlockURI

type BlockURI interface {
	ChannelURI
	BlockHash() []byte
}

func NewBlockURI

func NewBlockURI(channel string, blockHash []byte) BlockURI

type ChannelURI

type ChannelURI interface {
	fyne.URI
	Channel() string
}

func NewChannelURI

func NewChannelURI(channel string) ChannelURI

type RecordURI

type RecordURI interface {
	BlockURI
	RecordHash() []byte
}

func NewRecordURI

func NewRecordURI(channel string, blockHash, recordHash []byte) RecordURI

Jump to

Keyboard shortcuts

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