api

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Lang string
	// contains filtered or unexported fields
}

func NewClient

func NewClient(boxUrl string) *Client

func (*Client) CheckLogin

func (c *Client) CheckLogin() error

func (*Client) GetSession

func (c *Client) GetSession() (response.SessionInfo, error)

func (*Client) Login

func (c *Client) Login(username string, password string) error

func (*Client) Logout

func (c *Client) Logout() error

func (Client) RequestData

func (c Client) RequestData(req request.DataRequest) ([]byte, error)

Jump to

Keyboard shortcuts

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