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 ¶
func (m *CheckApiWareMiddleware) Handle(next http.HandlerFunc) http.HandlerFunc
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 ¶
func (m *CheckTokenWareMiddleware) Handle(next http.HandlerFunc) http.HandlerFunc
type DataAuthParam ¶
type DataAuthWareMiddleware ¶
type DataAuthWareMiddleware struct {
// contains filtered or unexported fields
}
func NewDataAuthWareMiddleware ¶
func NewDataAuthWareMiddleware(cfg config.Config) *DataAuthWareMiddleware
func (*DataAuthWareMiddleware) Handle ¶
func (m *DataAuthWareMiddleware) Handle(next http.HandlerFunc) http.HandlerFunc
type InitCtxsWareMiddleware ¶
type InitCtxsWareMiddleware struct { }
func NewInitCtxsWareMiddleware ¶
func NewInitCtxsWareMiddleware() *InitCtxsWareMiddleware
func (*InitCtxsWareMiddleware) Handle ¶
func (m *InitCtxsWareMiddleware) Handle(next http.HandlerFunc) http.HandlerFunc
type SetupWareMiddleware ¶
func NewSetupWareMiddleware ¶
func NewSetupWareMiddleware(cfg config.Config, LogRpc operLog.Log) *SetupWareMiddleware
func (*SetupWareMiddleware) Handle ¶
func (m *SetupWareMiddleware) Handle(next http.HandlerFunc) http.HandlerFunc
type TeardownWareMiddleware ¶
func NewTeardownWareMiddleware ¶
func NewTeardownWareMiddleware(cfg config.Config, LogRpc operLog.Log) *TeardownWareMiddleware
func (*TeardownWareMiddleware) Handle ¶
func (m *TeardownWareMiddleware) Handle(next http.HandlerFunc) http.HandlerFunc
Click to show internal directories.
Click to hide internal directories.