wasmsdk

command
v1.18.0-RC4 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: MIT Imports: 14 Imported by: 0

README

wasmsdk

import "github.com/0chain/gosdk/wasmsdk"

Index

func InvalidArg

func InvalidArg(argName string) error

func RequiredArg

func RequiredArg(argName string) error

type CheckStatusResult

type CheckStatusResult struct {
    Status        string              `json:"status"`
    Err           error               `json:"error"`
    BlobberStatus []sdk.BlobberStatus `json:"blobberStatus"`
}

type DownloadCommandResponse

type DownloadCommandResponse struct {
    CommandSuccess bool   `json:"commandSuccess,omitempty"`
    Error          string `json:"error,omitempty"`

    FileName string `json:"fileName,omitempty"`
    Url      string `json:"url,omitempty"`
}

type FileCommandResponse

type FileCommandResponse struct {
    CommandSuccess bool   `json:"commandSuccess,omitempty"`
    Error          string `json:"error,omitempty"`
}

Generated by gomarkdoc

Documentation

Overview

Provides an interface for the SDK functions to be used to build a WebAssemply SDK for usage in the webapps.

Directories

Path Synopsis
Demo for the wasm sdk- do not use.
Demo for the wasm sdk- do not use.
Utilities for interacting with the JavaScript runtime.
Utilities for interacting with the JavaScript runtime.

Jump to

Keyboard shortcuts

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