local

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 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 EntitlementResp

type EntitlementResp struct {
	AccessToken string `json:"accessToken"`
	Token       string `json:"token"`
}

type LocalClient

type LocalClient struct {
	// contains filtered or unexported fields
}
var Client *LocalClient

Project wide Local Client

func NewClient

func NewClient(port, pw, pc string) *LocalClient

func (*LocalClient) GET

func (l *LocalClient) GET(endpoint string) (*http.Response, error)

func (*LocalClient) GetRiotHeaders

func (n *LocalClient) GetRiotHeaders() http.Header

func (*LocalClient) InitWS

func (l *LocalClient) InitWS() (*websocket.Conn, error)

Jump to

Keyboard shortcuts

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