htb

package
v0.0.0-...-02fdb9c Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2021 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetBoxInfo

func GetBoxInfo(box config.Box) map[string]string

func GetIdByName

func GetIdByName(username string) int

func Login

func Login()

func ParseShoutbox

func ParseShoutbox(session *discordgo.Session)

func ParseUserProfil

func ParseUserProfil(wg *sync.WaitGroup, user *config.User, progress *config.Progress)

func RefreshBoxes

func RefreshBoxes()

func RefreshChallenges

func RefreshChallenges()

func RefreshUsers

func RefreshUsers()

func StartLogin

func StartLogin(ticker *time.Ticker)

func StartParseShoutbox

func StartParseShoutbox(ticker *time.Ticker, session *discordgo.Session)

func StartRefreshBoxes

func StartRefreshBoxes(ticker *time.Ticker)

func StartRefreshChallenges

func StartRefreshChallenges(ticker *time.Ticker)

func StartRefreshUsers

func StartRefreshUsers(ticker *time.Ticker)

Types

type User

type User struct {
	Id       int    `json:"id"`
	Username string `json:"username"`
}

Jump to

Keyboard shortcuts

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