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

Method AddIP

internal/stats/dau_manager.go:146–154  ·  view source on GitHub ↗
(serverId int64, ip string)

Source from the content-addressed store, hash-verified

144}
145
146func (this *DAUManager) AddIP(serverId int64, ip string) {
147 select {
148 case this.ipChan <- IPInfo{
149 IP: ip,
150 ServerId: serverId,
151 }:
152 default:
153 }
154}
155
156func (this *DAUManager) processIP(serverId int64, ip string) error {
157 if !this.isReady {

Callers 2

TestDAUManager_AddIPFunction · 0.45

Calls

no outgoing calls

Tested by 2

TestDAUManager_AddIPFunction · 0.36