dota2

package
v0.0.0-...-f537024 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2022 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DotaClient

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

func New

func New(ctx context.Context, details steam.AccDetails) *DotaClient

func (*DotaClient) Done

func (c *DotaClient) Done() <-chan struct{}

func (*DotaClient) QueryGames

func (c *DotaClient) QueryGames(gCtx global.Context, ctx context.Context, accID uint32, matchIDs []string) ([]GameWrapper, error)

func (*DotaClient) Ready

func (c *DotaClient) Ready() bool

type GameWrapper

type GameWrapper struct {
	Game    structures.DotaGame
	Players []structures.DotaGamePlayer
}

Jump to

Keyboard shortcuts

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