storage

package
v0.0.0-...-6b1ffde Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCanNotParseResponse = fmt.Errorf("can not parse response")
)

Functions

This section is empty.

Types

type TonStorage

type TonStorage interface {
	Info(string) (interface{}, error)
	List() ([]entity.BagID, error)
	Create(string) (string, bool, error)
	AddByBagID(string, string) (bool, error)
	Remove(string) bool
}

type TonStorageService

type TonStorageService struct {
	Storage TonStorage
}

func NewTonStorageService

func NewTonStorageService(storage TonStorage) *TonStorageService

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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