routers

package
v1.346.0 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2023 License: Apache-2.0 Imports: 18 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 PrometheusFilter added in v1.306.0

func PrometheusFilter(ctx *context.Context)

func RecordMessage

func RecordMessage(ctx *context.Context)

func StaticFilter

func StaticFilter(ctx *context.Context)

func T added in v1.246.1

func T(ctx *context.Context, error string) string

Types

type Object

type Object struct {
	Owner        string `json:"owner"`
	Name         string `json:"name"`
	AccessKey    string `json:"accessKey"`
	AccessSecret string `json:"accessSecret"`
}

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