memory

package
v0.11.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

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

func New

func New() *Storage

func (*Storage) Close

func (m *Storage) Close() error

func (*Storage) Fetch

func (m *Storage) Fetch(ctx context.Context, id *ccpackage.PackageID) (io.ReadCloser, error)

Fetch fetches chaincode package.

func (*Storage) Get

Get gets chaincode package info from packages.

func (*Storage) List

func (m *Storage) List(ctx context.Context) ([]*ccpackage.Package, error)

List gets stored chaincode packages' infos.

func (*Storage) Put

Put saves chaincode package into packages.

Jump to

Keyboard shortcuts

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