实现WAF统计数据接口

This commit is contained in:
刘祥超
2021-01-26 18:41:02 +08:00
parent e76441ba8e
commit 6164cebc62
12 changed files with 395 additions and 13 deletions

View File

@@ -0,0 +1,13 @@
package rpcutils
import "context"
type MockAdminNodeContext struct {
context.Context
AdminId int64
}
func NewMockAdminNodeContext(adminId int64) context.Context {
return &MockAdminNodeContext{AdminId: adminId}
}