riot

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2023 License: MIT Imports: 13 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 interface {
	GetAllLoLChampions() ([]datadragon.ChampionDataExtended, error)
	GetLoLChampion(championName string) (datadragon.ChampionDataExtended, error)
}

func NewClient

func NewClient(log logger.Logger, hc *http.Client, apiKey, region string) Client

type Concrete

type Concrete struct {
	// contains filtered or unexported fields
}

func (*Concrete) GetAllLoLChampions

func (c *Concrete) GetAllLoLChampions() ([]datadragon.ChampionDataExtended, error)

func (*Concrete) GetLoLChampion

func (c *Concrete) GetLoLChampion(championName string) (datadragon.ChampionDataExtended, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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