local_store

package
v0.0.0-...-5d479c6 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2024 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	SyncedHeight uint64
	Address      string `json:"-"`
}

type LocalStore

type LocalStore struct {
	// contains filtered or unexported fields
}

func NewLocalStore

func NewLocalStore(path string) (*LocalStore, error)

func (*LocalStore) Read

func (s *LocalStore) Read(addr string) (*Info, error)

func (*LocalStore) Update

func (s *LocalStore) Update(update Info) error

Jump to

Keyboard shortcuts

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