mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-16 18:06:55 +00:00
Add /hll_force_write
This commit is contained in:
parent
81c477cd6b
commit
2ddfa2b02c
2 changed files with 7 additions and 0 deletions
|
@ -164,6 +164,12 @@ func HTTPShowHLL(w http.ResponseWriter, r *http.Request) {
|
|||
hllFileServer.ServeHTTP(w, r)
|
||||
}
|
||||
|
||||
func HTTPWriteHLL(w http.ResponseWriter, r *http.Request) {
|
||||
writeAllHLLs()
|
||||
w.WriteHeader(200)
|
||||
w.Write([]byte("ok"))
|
||||
}
|
||||
|
||||
// loadUniqueUsers loads the previous HLLs into memory.
|
||||
// is_init_func
|
||||
func loadUniqueUsers() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue