utils

package
v0.0.0-...-cbc503f Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2019 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetInternalAPIClient

func GetInternalAPIClient(region region.Region) *lolclient.LeagueOfLegends

GetInternalAPIClient returns the default LeagueOfLegends clients generated by swagger

func GetTestAPIClient

func GetTestAPIClient(host string) *lolclient.LeagueOfLegends

GetTestAPIClient returns a INSECURE client that will send request to the specified host. This should be only be used for test porpuses

func GetTestServerAndClient

func GetTestServerAndClient(authenticate bool, response string) (*httptest.Server, *lolapi.LeagueOfLegends)

Types

This section is empty.

Jump to

Keyboard shortcuts

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