Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Equinox ¶
type Equinox struct {
Riot *riot.RiotClient
LOL *lol.LOLClient
TFT *tft.TFTClient
// contains filtered or unexported fields
}
func NewClient ¶
Creates a new Equinox client with a default configuration
- `Cluster` : api.Americas
- `LogLevel` : api.FatalLevel
- `Timeout` : 10
- `Retry` : true
func NewClientWithConfig ¶ added in v0.3.0
func NewClientWithConfig(config *api.EquinoxConfig) (*Equinox, error)
Creates a new Equinox client using a custom configuration.
If you don't specify a Timeout this will disable the timeout for the http.Client.
Click to show internal directories.
Click to hide internal directories.