Documentation ¶
Overview ¶
Package dbmirror is a package to create a database which is almost exactly the same as osu!'s beatmap database.
Index ¶
Constants ¶
View Source
const ( // NewBatchEvery is the amount of time that will elapse between one batch // of requests and another. NewBatchEvery = time.Minute // PerBatch is the amount of requests and updates every batch contains. PerBatch = 100 // SetUpdaterWorkers is the number of goroutines which should take care of // new batches. Keep in mind that this will be the number of maximum // concurrent connections to the osu! API. SetUpdaterWorkers = PerBatch / 20 )
Variables ¶
This section is empty.
Functions ¶
func DiscoverEvery ¶
DiscoverEvery runs Discover and waits for it to finish. If Discover returns an error, then it will wait errorWait before running Discover again. If Discover doesn't return any error, then it will wait successWait before running Discover again.
func SetHasVideo ¶
SetHasVideo sets the hasVideo function to the one passed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.