db

package
v0.3.4 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrNotFound = errors.New("not found")

Functions

This section is empty.

Types

type CronContract added in v0.3.0

type CronContract struct {
	ContractAddr string `json:"a"`
	NextQuery    int64  `json:"t"`
	Reward       string `json:"r"`
	Version      int    `json:"v"`
}

type StoredBag

type StoredBag struct {
	BagID        []byte          `json:"b"`
	Size         uint64          `json:"s"`
	ContractAddr string          `json:"a"`
	Status       StoredBagStatus `json:"t"`
}

type StoredBagStatus

type StoredBagStatus int
const (
	StoredBagStatusAdded StoredBagStatus = iota
	StoredBagStatusActive
	StoredBagStatusStopped
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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