assetbox

package
v0.0.0-...-e03aae4 Latest Latest
Warning

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

Go to latest
Published: May 6, 2022 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Manager

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

func NewAssetboxManager

func NewAssetboxManager(b *bb.Bitbon, encryptor bb.PkEncryptor) *Manager

AssetboxManager create a new AssetboxManager instance.

func (*Manager) DeleteAssetbox

func (am *Manager) DeleteAssetbox(ctx context.Context, req *dto.DeleteAssetboxRequest) (err error)

func (*Manager) PrepareAssetbox

func (am *Manager) PrepareAssetbox(_ context.Context) (assetbox *models.Assetbox, err error)

func (*Manager) PrepareAssetboxes

func (am *Manager) PrepareAssetboxes(ctx context.Context, count uint64) (assetboxes []*models.Assetbox, err error)

func (*Manager) SetPublicAssetboxInfo

func (am *Manager) SetPublicAssetboxInfo(ctx context.Context, req *dto.SetPublicAssetboxInfoRequest) (err error)

func (*Manager) SetPublicAssetboxInfos

func (am *Manager) SetPublicAssetboxInfos(ctx context.Context, assetboxes []*contracts.Assetbox) (err error)

Jump to

Keyboard shortcuts

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