1.4.5.2
This commit is contained in:
9
EdgeNode/internal/utils/agents/db.go
Normal file
9
EdgeNode/internal/utils/agents/db.go
Normal file
@@ -0,0 +1,9 @@
|
||||
// Copyright 2024 GoEdge CDN goedge.cdn@gmail.com. All rights reserved. Official site: https://goedge.cn .
|
||||
|
||||
package agents
|
||||
|
||||
type DB interface {
|
||||
Init() error
|
||||
InsertAgentIP(ipId int64, ip string, agentCode string) error
|
||||
ListAgentIPs(offset int64, size int64) (agentIPs []*AgentIP, err error)
|
||||
}
|
||||
Reference in New Issue
Block a user