client

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: MIT Imports: 11 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 {
	Rest      *restcli.RestClient
	Websocket *gateway.GatewayClient
	State     *state.State
}

func New

func New() Client

New returns a new client with default options

func (*Client) Authorize

func (c *Client) Authorize(token *auth.Token)

Authorizes to both rest and websocket (websocket not implemented yet)

Jump to

Keyboard shortcuts

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