Documentation ¶
Index ¶
- Variables
- type BaseClient
- type Client
- func (self *Client) GetNonce(ctx context.Context, signatureType bundlr.SignatureType, owner string) (out *responses.GetNonce, resp *resty.Response, err error)
- func (self *Client) Upload(ctx context.Context, item *bundlr.BundleItem, mode types.BroadcastMode) (out *responses.Upload, resp *resty.Response, err error)
- func (self *Client) UploadReader(ctx context.Context, reader io.Reader, mode types.BroadcastMode) (out *responses.Upload, resp *resty.Response, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrFailedToParse = errors.New("failed to parse response") ErrBufferTooSmall = errors.New("buffer too small") )
Functions ¶
This section is empty.
Types ¶
type BaseClient ¶
type BaseClient struct {
// contains filtered or unexported fields
}
func (*BaseClient) GetClient ¶
func (self *BaseClient) GetClient() *resty.Client
Click to show internal directories.
Click to hide internal directories.