util

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2020 License: MIT Imports: 2 Imported by: 0

README

GW2API/util

The util subpackage contains utility functions that are not directly provided by the api.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetLinkedWorlds

func GetLinkedWorlds(match *gw2api.WvWMatch, host int) []int

GetLinkedWorlds returns all linked worlds of a host world in the current match

func IsLinkedWorld

func IsLinkedWorld(match *gw2api.WvWMatch, host, link int) bool

IsLinkedWorld reports whether the entered world id is currently linked with the entered host id

func ValidAPIKey

func ValidAPIKey(key string) bool

ValidAPIKey checks whether the entered apikey has a valid format

Types

This section is empty.

Jump to

Keyboard shortcuts

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