Documentation ¶
Overview ¶
Package routers @APIVersion 1.0.0 @Title Casdoor API @Description Documentation of Casdoor API @Contact admin@casbin.org
Index ¶
- func AuthzFilter(ctx *context.Context)
- func AutoSigninFilter(ctx *context.Context)
- func CorsFilter(ctx *context.Context)
- func PrometheusMiddleWare(h http.Handler) http.Handler
- func RecordMessage(ctx *context.Context)
- func StaticFilter(ctx *context.Context)
- func T(ctx *context.Context, error string) string
- type Object
- type PrometheusMiddleWareWrapper
- type Response
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthzFilter ¶
func AutoSigninFilter ¶
func CorsFilter ¶ added in v1.60.0
func PrometheusMiddleWare ¶ added in v1.303.0
func RecordMessage ¶
func StaticFilter ¶
Types ¶
type PrometheusMiddleWareWrapper ¶ added in v1.303.0
type PrometheusMiddleWareWrapper struct {
// contains filtered or unexported fields
}
func (PrometheusMiddleWareWrapper) ServeHTTP ¶ added in v1.303.0
func (p PrometheusMiddleWareWrapper) ServeHTTP(w http.ResponseWriter, req *http.Request)
Click to show internal directories.
Click to hide internal directories.