tba

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2025 License: Zlib Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListSupportedBracketTypes added in v0.20.0

func ListSupportedBracketTypes() []int

func SendRequest

func SendRequest(tba_url string, url string, body []byte, params *EventParams) (*http.Response, error)

Types

type Bracket added in v0.11.0

type Bracket map[int]MatchCode

func GetBracket added in v0.11.0

func GetBracket(bracket_type int) Bracket

type EventParams

type EventParams struct {
	Event  string
	Auth   string
	Secret string
}

type MatchCode

type MatchCode struct {
	Level string `json:"comp_level"`
	Set   int    `json:"set_number"`
	Match int    `json:"match_number"`
}

func GetPlayoffCode

func GetPlayoffCode(bracket_type, match_id int) MatchCode

Jump to

Keyboard shortcuts

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