banchoCrawler

package
v0.0.0-...-b33ce83 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2023 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UpsertBeatmap = `/* UPSERT BEATMAP */
	INSERT INTO BEATMAP
		(
			BEATMAP_ID,BEATMAPSET_ID,MODE,MODE_INT,STATUS,	RANKED,TOTAL_LENGTH,MAX_COMBO,DIFFICULTY_RATING,VERSION,
			ACCURACY,AR,CS,DRAIN,BPM,` + "`CONVERT`" + `,COUNT_CIRCLES,COUNT_SLIDERS,COUNT_SPINNERS,DELETED_AT,
			HIT_LENGTH,IS_SCOREABLE,LAST_UPDATED,PASSCOUNT,PLAYCOUNT,	CHECKSUM,USER_ID
		)VALUES(
			?,?,?,?,?,	?,?,?,?,?,
			?,?,?,?,?,	?,?,?,?,?,
			?,?,?,?,?,	?,?
		)ON DUPLICATE KEY UPDATE 
			BEATMAPSET_ID = VALUES(BEATMAPSET_ID), MODE = VALUES(MODE), MODE_INT = VALUES(MODE_INT), STATUS = VALUES(STATUS), 
			RANKED = VALUES(RANKED), TOTAL_LENGTH = VALUES(TOTAL_LENGTH), MAX_COMBO = VALUES(MAX_COMBO), DIFFICULTY_RATING = VALUES(DIFFICULTY_RATING), 
			VERSION = VALUES(VERSION), 	ACCURACY = VALUES(ACCURACY), AR = VALUES(AR), CS = VALUES(CS), DRAIN = VALUES(DRAIN), BPM = VALUES(BPM),` +
		"`CONVERT` = VALUES(`CONVERT`" + `), COUNT_CIRCLES = VALUES(COUNT_CIRCLES), COUNT_SLIDERS = VALUES(COUNT_SLIDERS), 
			COUNT_SPINNERS = VALUES(COUNT_SPINNERS), DELETED_AT = VALUES(DELETED_AT), 	HIT_LENGTH = VALUES(HIT_LENGTH), 
			IS_SCOREABLE = VALUES(IS_SCOREABLE), LAST_UPDATED = VALUES(LAST_UPDATED), PASSCOUNT = VALUES(PASSCOUNT), PLAYCOUNT = VALUES(PLAYCOUNT), 
			CHECKSUM = VALUES(CHECKSUM), USER_ID = VALUES(USER_ID);`

	UpsertBeatmapSet = `` /* 2088-byte string literal not displayed */

)

Variables

View Source
var ApiCount = &api.count

Functions

func LoadBancho

func LoadBancho(ch chan struct{})

func ManualUpdateBeatmapSet

func ManualUpdateBeatmapSet(id int)

func RunGetBeatmapDataASBancho

func RunGetBeatmapDataASBancho()

func UpdateAllPackList

func UpdateAllPackList()

Types

This section is empty.

Jump to

Keyboard shortcuts

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