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 (f *GetBlobFieldView) Call() GetBlobFieldResults
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 (f *GetBlobInfoView) Call() GetBlobInfoResults
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
Click to show internal directories.
Click to hide internal directories.