store

package
v0.0.0-...-7d9df51 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StorageCredentials

type StorageCredentials struct {
	Key    string
	Secret string
	Region string
	Bucket string
	Prefix string
}

type Store

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

func New

func New(credentials *StorageCredentials) *Store

func (*Store) GetBuckets

func (store *Store) GetBuckets() error

func (*Store) GetLatestEpoch

func (store *Store) GetLatestEpoch() (int, error)

func (*Store) Open

func (store *Store) Open() error

func (*Store) PutEpoch

func (store *Store) PutEpoch(epoch int, nodeId uuid.UUID) error

Jump to

Keyboard shortcuts

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