add unloading all requests
This commit is contained in:
1 parent
8af97e56d7
commit
37c08f4500
13 files changed
+191
-6
No files matched your search
+12
-1
@@ -1,9 +1,20 @@
|
||||
package entity
|
||||
|
||||
import "isp-gate-service/accounting/state"
|
||||
import (
|
||||
"isp-gate-service/accounting/state"
|
||||
"time"
|
||||
)
|
||||
|
||||
type Snapshot struct {
|
||||
TableName string `sql:"gate_service.snapshot" json:"-"`
|
||||
AppId int32 `sql:",pk"`
|
||||
LimitState map[string]state.Snapshot
|
||||
}
|
||||
|
||||
type Unload struct {
|
||||
TableName string `sql:"gate_service.unload" json:"-"`
|
||||
Id int `sql:",pk"`
|
||||
AppId int32
|
||||
Method string
|
||||
CreatedAt time.Time
|
||||
}
|
||||
Reference in new issue
Block a user