requests

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBacklog

func GetBacklog(token, endpoint string) *http.Response

func GetSessionToken

func GetSessionToken(user, pass string) (string, error)

Types

type Connection

type Connection struct {
	WSConn *websocket.Conn
}

func NewConnection

func NewConnection(token string) *Connection

func (*Connection) ReadMessage

func (c *Connection) ReadMessage() ([]byte, error)

func (*Connection) SendMessage

func (c *Connection) SendMessage(cid int, channel, message string)

Jump to

Keyboard shortcuts

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