middleware

package
v0.10.7 Latest Latest
Warning

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

Go to latest
Published: Oct 9, 2024 License: AGPL-3.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CheckApiWareMiddleware

type CheckApiWareMiddleware struct {
	AuthRpc role.RoleManage
}

func NewCheckApiWareMiddleware

func NewCheckApiWareMiddleware() *CheckApiWareMiddleware

func (*CheckApiWareMiddleware) Handle

type CheckTokenWareMiddleware

type CheckTokenWareMiddleware struct {
	UserRpc user.UserManage
	AuthRpc role.RoleManage
	// contains filtered or unexported fields
}

func NewCheckTokenWareMiddleware

func NewCheckTokenWareMiddleware(cfg config.Config, UserRpc user.UserManage, AuthRpc role.RoleManage) *CheckTokenWareMiddleware

func (*CheckTokenWareMiddleware) Handle

type DataAuthParam

type DataAuthParam struct {
	ProjectID  string   `json:"projectID,string,optional"` //项目id
	ProjectIDs []string `json:"projectIDs,optional"`       //项目ids
	AreaID     string   `json:"areaID,string,optional"`    //项目区域id
	AreaIDs    []string `json:"areaIDs,optional"`          //项目区域ids
}

type DataAuthWareMiddleware

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

func NewDataAuthWareMiddleware

func NewDataAuthWareMiddleware(cfg config.Config) *DataAuthWareMiddleware

func (*DataAuthWareMiddleware) Handle

type InitCtxsWareMiddleware

type InitCtxsWareMiddleware struct {
}

func NewInitCtxsWareMiddleware

func NewInitCtxsWareMiddleware() *InitCtxsWareMiddleware

func (*InitCtxsWareMiddleware) Handle

type SetupWareMiddleware

type SetupWareMiddleware struct {
	LogRpc operLog.Log
	// contains filtered or unexported fields
}

func NewSetupWareMiddleware

func NewSetupWareMiddleware(cfg config.Config, LogRpc operLog.Log) *SetupWareMiddleware

func (*SetupWareMiddleware) Handle

type TeardownWareMiddleware

type TeardownWareMiddleware struct {
	LogRpc operLog.Log
	// contains filtered or unexported fields
}

func NewTeardownWareMiddleware

func NewTeardownWareMiddleware(cfg config.Config, LogRpc operLog.Log) *TeardownWareMiddleware

func (*TeardownWareMiddleware) Handle

Jump to

Keyboard shortcuts

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