Name: Inspired by Genshin Impact(Cyno is the General Mahamatra and he leads the Matra and strikes fear into the hearts of researchers of the Sumeru Akademiya.)
- Automatic Ban CC Attack
- Record User Footstep by Clientid
- etc
go get -u github.com/chi-net/cyno
package main
import (
"github.com/chi-net/cyno"
"github.com/gin-gonic/gin"
)
func main() {
r := gin.Default()
r.Use(cyno.Default())
r.get("/ping", func(c *gin.Context) {
c.JSON(200, gin.H{
"status": 200,
"ping": "pong",
})
})
r.Run(":8080")
}
Under GPL-3.0 License.
This is a inner module of nahida-web, so it is updated 2 versions back with Nahida-web.