syncapi

package
v1.2.16 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2025 License: BSD-3-Clause Imports: 0 Imported by: 0

Documentation

Overview

Package syncapi exposes the *data* formats needed by trie-/code-sync. It has NO networking logic.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CodeRequest

type CodeRequest struct {
	Hash []byte
}

type CodeResponse

type CodeResponse struct {
	Code []byte
}

type LeafsRequest

type LeafsRequest struct {
	Root  []byte
	Start []byte
	End   []byte
	Limit uint16
}

type LeafsResponse

type LeafsResponse struct {
	Keys [][]byte
	Vals [][]byte
}

Jump to

Keyboard shortcuts

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