coreblobclient

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2022 License: Apache-2.0, BSD-2-Clause, Apache-2.0, + 1 more Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ArgBlobs = "this"
	ArgField = "field"
	ArgHash  = "hash"

	ResBlobSizes = "this"
	ResBytes     = "bytes"
	ResHash      = "hash"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type CoreBlobService

type CoreBlobService struct {
	wasmclient.Service
}

func NewCoreBlobService

func NewCoreBlobService(cl *wasmclient.ServiceClient, chainID string) (*CoreBlobService, error)

func (*CoreBlobService) GetBlobField

func (s *CoreBlobService) GetBlobField() GetBlobFieldView

func (*CoreBlobService) GetBlobInfo

func (s *CoreBlobService) GetBlobInfo() GetBlobInfoView

func (*CoreBlobService) ListBlobs

func (s *CoreBlobService) ListBlobs() ListBlobsView

func (*CoreBlobService) StoreBlob

func (s *CoreBlobService) StoreBlob() StoreBlobFunc

type GetBlobFieldResults

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

func (*GetBlobFieldResults) Bytes

func (r *GetBlobFieldResults) Bytes() []byte

type GetBlobFieldView

type GetBlobFieldView struct {
	wasmclient.ClientView
	// contains filtered or unexported fields
}

func (*GetBlobFieldView) Call

func (*GetBlobFieldView) Field

func (f *GetBlobFieldView) Field(v string)

func (*GetBlobFieldView) Hash

func (f *GetBlobFieldView) Hash(v wasmclient.Hash)

type GetBlobInfoResults

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

func (*GetBlobInfoResults) BlobSizes

func (r *GetBlobInfoResults) BlobSizes() map[string]int32

type GetBlobInfoView

type GetBlobInfoView struct {
	wasmclient.ClientView
	// contains filtered or unexported fields
}

func (*GetBlobInfoView) Call

func (*GetBlobInfoView) Hash

func (f *GetBlobInfoView) Hash(v wasmclient.Hash)

type ListBlobsResults

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

func (*ListBlobsResults) BlobSizes

func (r *ListBlobsResults) BlobSizes() map[wasmclient.Hash]int32

type ListBlobsView

type ListBlobsView struct {
	wasmclient.ClientView
}

func (*ListBlobsView) Call

func (f *ListBlobsView) Call() ListBlobsResults

type StoreBlobFunc

type StoreBlobFunc struct {
	wasmclient.ClientFunc
	// contains filtered or unexported fields
}

func (*StoreBlobFunc) Blobs

func (f *StoreBlobFunc) Blobs(v []byte)

func (*StoreBlobFunc) Post

func (f *StoreBlobFunc) Post() wasmclient.Request

Jump to

Keyboard shortcuts

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