onlinestat

command module
v0.0.0-...-505be2e Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2023 License: MIT Imports: 12 Imported by: 0

README

Intro

onlinestat is a online user counter service.

Currently support two methods

  • Redis

Log ip with a exipred time in redis DB. Then, the count of keys is the result we need.

  • Memory

Log ip using golang map. In this mode, you SHOULD only deploy one instance.

NOTE: no auth check provided, so DO NOT expose your service to public.

LICENSE

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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