init commit
This commit is contained in:
10
server/web/auth/auth.go
Normal file
10
server/web/auth/auth.go
Normal file
@@ -0,0 +1,10 @@
|
||||
package auth
|
||||
|
||||
import "github.com/gin-gonic/gin"
|
||||
|
||||
type Config struct {
|
||||
}
|
||||
|
||||
func Apply(r *gin.Engine, config *Config) {
|
||||
r.Use(middleware)
|
||||
}
|
||||
Reference in New Issue
Block a user