routers

package
v1.622.0 Latest Latest
Warning

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

Go to latest
Published: May 26, 2024 License: Apache-2.0 Imports: 21 Imported by: 1

Documentation

Overview

Package routers @APIVersion 1.503.0 @Title Casdoor RESTful API @Description Swagger Docs of Casdoor Backend API @Contact casbin@googlegroups.com @SecurityDefinition AccessToken apiKey Authorization header @Schemes https,http @ExternalDocs Find out more about Casdoor @ExternalDocsUrl https://casdoor.org/

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AfterRecordMessage added in v1.580.0

func AfterRecordMessage(ctx *context.Context)

func ApiFilter added in v1.377.0

func ApiFilter(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