audit

package
v0.0.0-...-41ad4b5 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OperateLog

func OperateLog(c echo.Context) error

func OperateLogList

func OperateLogList(c echo.Context) error

func UserLoginList

func UserLoginList(c echo.Context) error

Types

type OperateLogSerializer

type OperateLogSerializer struct {
	// contains filtered or unexported fields
}

func NewOperateLogSerializer

func NewOperateLogSerializer() *OperateLogSerializer

func (*OperateLogSerializer) ExtraFilter

func (c *OperateLogSerializer) ExtraFilter(query map[string]interface{}) map[string]interface{}

func (*OperateLogSerializer) GetParams

func (*OperateLogSerializer) Order

func (c *OperateLogSerializer) Order() []string

func (*OperateLogSerializer) Preload

func (c *OperateLogSerializer) Preload() []string

func (*OperateLogSerializer) QueryBeforeHook

func (c *OperateLogSerializer) QueryBeforeHook(ctx echo.Context, tx *gorm.DB, query map[string]interface{}) (*gorm.DB, error)

func (*OperateLogSerializer) Response

func (c *OperateLogSerializer) Response(data base.ResponseContent, query map[string]interface{}) base.ResponseContent

type UserLoginSerializer

type UserLoginSerializer struct {
	// contains filtered or unexported fields
}

func NewUserLoginSerializer

func NewUserLoginSerializer() *UserLoginSerializer

func (*UserLoginSerializer) ExtraFilter

func (c *UserLoginSerializer) ExtraFilter(query map[string]interface{}) map[string]interface{}

func (*UserLoginSerializer) GetParams

func (*UserLoginSerializer) Order

func (c *UserLoginSerializer) Order() []string

func (*UserLoginSerializer) Preload

func (c *UserLoginSerializer) Preload() []string

func (*UserLoginSerializer) QueryBeforeHook

func (c *UserLoginSerializer) QueryBeforeHook(ctx echo.Context, tx *gorm.DB, query map[string]interface{}) (*gorm.DB, error)

func (*UserLoginSerializer) Response

func (c *UserLoginSerializer) Response(data base.ResponseContent, query map[string]interface{}) base.ResponseContent

Jump to

Keyboard shortcuts

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