connections

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbilityApiCall added in v0.12.0

func AbilityApiCall(endpoint string, abilityName string, baseURL string) (structs.AbilityJSONStruct, string, error)

func ApiCallSetup

func ApiCallSetup(rawURL string, target interface{}, skipHTTPSCheck bool) error

ApiCallSetup Helper function to handle API calls and JSON unmarshalling

func PokemonApiCall

func PokemonApiCall(endpoint string, pokemonName string, baseURL string) (structs.PokemonJSONStruct, string, int, int, int, error)

func TypesApiCall

func TypesApiCall(endpoint string, typesName string, baseURL string) (structs.TypesJSONStruct, string, int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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