routers

package
v1.222.0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package routers @APIVersion 1.0.0 @Title Casdoor API @Description Documentation of Casdoor API @Contact admin@casbin.org

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthzFilter

func AuthzFilter(ctx *context.Context)

func AutoSigninFilter

func AutoSigninFilter(ctx *context.Context)

func CorsFilter added in v1.60.0

func CorsFilter(ctx *context.Context)

func RecordMessage

func RecordMessage(ctx *context.Context)

func StaticFilter

func StaticFilter(ctx *context.Context)

Types

type Object

type Object struct {
	Owner string `json:"owner"`
	Name  string `json:"name"`
}

type Response

type Response struct {
	Status string      `json:"status"`
	Msg    string      `json:"msg"`
	Data   interface{} `json:"data"`
	Data2  interface{} `json:"data2"`
}

Jump to

Keyboard shortcuts

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