MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / Init

Method Init

internal/utils/agents/db.go:6–6  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4
5type DB interface {
6 Init() error
7 InsertAgentIP(ipId int64, ip string, agentCode string) error
8 ListAgentIPs(offset int64, size int64) (agentIPs []*AgentIP, err error)
9}

Callers 6

loadDBMethod · 0.95
SimpleEncryptFunction · 0.65
simpleDecryptFunction · 0.65
TestKVDB_InsertAgentIPFunction · 0.65
TestKVDB_ListAgentIPsFunction · 0.65
TestNewManagerFunction · 0.65

Implementers 2

SQLiteDBinternal/utils/agents/db_sqlite.go
KVDBinternal/utils/agents/db_kv.go

Calls

no outgoing calls

Tested by 3

TestKVDB_InsertAgentIPFunction · 0.52
TestKVDB_ListAgentIPsFunction · 0.52
TestNewManagerFunction · 0.52