Documentation
¶
Index ¶
- Constants
- type Client
- func (c *Client) Auth() error
- func (c *Client) DoRequest(ctx context.Context, method string, url string, sendData []byte) (io.ReadCloser, error)
- func (c *Client) GetEncodedSignature(keyID, privateKeyRaw string) (string, error)
- func (c *Client) GetJWEToken(ctx context.Context, privateKeyComplete string) (string, error)
- func (c *Client) UploadFile(ctx context.Context, url string, fileName string) (io.ReadCloser, error)
- type JWEToken
- type JWETokenResponse
- type Option
- type RequestOpts
Constants ¶
View Source
const ( BaseURL = "https://public-api.rustore.ru/public/v1/application" AuthURL = "https://public-api.rustore.ru/public/auth" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) DoRequest ¶
func (*Client) GetEncodedSignature ¶
func (*Client) GetJWEToken ¶
type JWETokenResponse ¶
Click to show internal directories.
Click to hide internal directories.