fairing

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GlobalFairing

type GlobalFairing struct {
	DB *gorm.DB `inject:"-"`
}

func NewGlobalFairing

func NewGlobalFairing() *GlobalFairing

func (*GlobalFairing) OnRequest

func (this *GlobalFairing) OnRequest(ctx *gin.Context) error

func (*GlobalFairing) OnResponse

func (this *GlobalFairing) OnResponse(ret interface{}) (interface{}, error)

type IndexFairing

type IndexFairing struct{}

func NewIndexFairing

func NewIndexFairing() *IndexFairing

func (*IndexFairing) OnRequest

func (this *IndexFairing) OnRequest(ctx *gin.Context) error

func (*IndexFairing) OnResponse

func (this *IndexFairing) OnResponse(ret interface{}) (interface{}, error)

type TestFairing

type TestFairing struct{}

func NewTestFairing

func NewTestFairing() *TestFairing

func (*TestFairing) OnRequest

func (this *TestFairing) OnRequest(ctx *gin.Context) error

func (*TestFairing) OnResponse

func (this *TestFairing) OnResponse(ret interface{}) (interface{}, error)

type TokenFairing

type TokenFairing struct{}

func NewTokenFairing

func NewTokenFairing() *TokenFairing

func (*TokenFairing) OnRequest

func (this *TokenFairing) OnRequest(ctx *gin.Context) error

func (*TokenFairing) OnResponse

func (this *TokenFairing) OnResponse(ret interface{}) (interface{}, error)

Jump to

Keyboard shortcuts

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