equinox

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2022 License: MIT Imports: 2 Imported by: 1

README

Equinox

This shouldn't be used in any production environment, this is just a practice tool for me to learn CI/CD using Github Actions and tests in golang. But hey, unless you really want to use this package just so you can use the single endpoint implemented, hey uh, have fun.

I was recommended Alex Pliutau's video on youtube and got curious about other aspects like tests, I decided to make a client for the Riot Games API since I am more familiar with it.

I am avoiding using other packages like resty instead of the http package go provides to improve my golang knowledge, currently just using testify.

TODO

Tests

I am not sure if tests are 'good enough', I am just checking if errors are Nil and the response is NotNil using testify.

Rate limiting

There's no rate limiting capability as of yet, I'd like to implement this before expanding endpoints coverage.

Logging

There's no logging or 'debugging mode'.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Equinox

type Equinox struct {
	*internal.InternalClient
	LOL *lol.LOLClient
}

func NewClient

func NewClient(key string) *Equinox

Creates a new Equinox client

Directories

Path Synopsis
codegen module

Jump to

Keyboard shortcuts

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