Documentation
¶
Index ¶
Constants ¶
View Source
const ( LOLBaseURL = "/lol/platform" ChampionEndpointURL = "/v3/champion-rotations" )
URLs
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChampionEndpoint ¶
type ChampionEndpoint struct {
*internal.InternalClient
}
func (*ChampionEndpoint) FreeRotation ¶
func (c *ChampionEndpoint) FreeRotation(region Region) (*FreeChampionsRotation, error)
Get Free Champions Rotation
type FreeChampionsRotation ¶
type LOLClient ¶
type LOLClient struct {
*internal.InternalClient
Champion *ChampionEndpoint
}
func NewLOLClient ¶
func NewLOLClient(client *internal.InternalClient) *LOLClient
Creates a new LOLClient using a internal client
Click to show internal directories.
Click to hide internal directories.