github.com/0chain/gosdk@v1.17.11/wasmsdk/README.md (about)

     1  <!-- Code generated by gomarkdoc. DO NOT EDIT -->
     2  
     3  # wasmsdk
     4  
     5  ```go
     6  import "github.com/0chain/gosdk/wasmsdk"
     7  ```
     8  
     9  ## Index
    10  
    11  - [func InvalidArg\(argName string\) error](<#InvalidArg>)
    12  - [func RequiredArg\(argName string\) error](<#RequiredArg>)
    13  - [type CheckStatusResult](<#CheckStatusResult>)
    14  - [type DownloadCommandResponse](<#DownloadCommandResponse>)
    15  - [type FileCommandResponse](<#FileCommandResponse>)
    16  
    17  
    18  <a name="InvalidArg"></a>
    19  ## func [InvalidArg](<https://github.com/0chain/gosdk/blob/doc/initial/wasmsdk/errors.go#L9>)
    20  
    21  ```go
    22  func InvalidArg(argName string) error
    23  ```
    24  
    25  
    26  
    27  <a name="RequiredArg"></a>
    28  ## func [RequiredArg](<https://github.com/0chain/gosdk/blob/doc/initial/wasmsdk/errors.go#L5>)
    29  
    30  ```go
    31  func RequiredArg(argName string) error
    32  ```
    33  
    34  
    35  
    36  <a name="CheckStatusResult"></a>
    37  ## type [CheckStatusResult](<https://github.com/0chain/gosdk/blob/doc/initial/wasmsdk/response.go#L18-L22>)
    38  
    39  
    40  
    41  ```go
    42  type CheckStatusResult struct {
    43      Status        string              `json:"status"`
    44      Err           error               `json:"error"`
    45      BlobberStatus []sdk.BlobberStatus `json:"blobberStatus"`
    46  }
    47  ```
    48  
    49  <a name="DownloadCommandResponse"></a>
    50  ## type [DownloadCommandResponse](<https://github.com/0chain/gosdk/blob/doc/initial/wasmsdk/response.go#L10-L16>)
    51  
    52  
    53  
    54  ```go
    55  type DownloadCommandResponse struct {
    56      CommandSuccess bool   `json:"commandSuccess,omitempty"`
    57      Error          string `json:"error,omitempty"`
    58  
    59      FileName string `json:"fileName,omitempty"`
    60      Url      string `json:"url,omitempty"`
    61  }
    62  ```
    63  
    64  <a name="FileCommandResponse"></a>
    65  ## type [FileCommandResponse](<https://github.com/0chain/gosdk/blob/doc/initial/wasmsdk/response.go#L5-L8>)
    66  
    67  
    68  
    69  ```go
    70  type FileCommandResponse struct {
    71      CommandSuccess bool   `json:"commandSuccess,omitempty"`
    72      Error          string `json:"error,omitempty"`
    73  }
    74  ```
    75  
    76  Generated by [gomarkdoc](<https://github.com/princjef/gomarkdoc>)