lib

package
v0.0.0-...-c7a1919 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BlockData

type BlockData struct {
	Leaf   merkle_dag.DagLeaf
	Branch merkle_dag.ClassicTreeBranch
}

type DownloadMessage

type DownloadMessage struct {
	Root      string
	Label     *string
	Hash      *string
	Range     *LeafRange
	PublicKey string
	Signature string
}

type ErrorMessage

type ErrorMessage struct {
	Message string
}

type LeafRange

type LeafRange struct {
	From int
	To   int
}

type ResponseMessage

type ResponseMessage struct {
	Ok bool
}

type UploadMessage

type UploadMessage struct {
	Root      string
	Count     int
	Leaf      merkle_dag.DagLeaf
	Parent    string
	Branch    *merkle_dag.ClassicTreeBranch
	PublicKey string
	Signature string
}

Directories

Path Synopsis
database
encryption
rsa

Jump to

Keyboard shortcuts

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