MCPcopy Create free account
hub / github.com/0xUnixIO/pulse / EffectiveEnabled

Method EffectiveEnabled

internal/users/store.go:226–228  ·  view source on GitHub ↗

EffectiveEnabled 判断用户是否应被下发到节点(便捷方法,使用当前时间)。

()

Source from the content-addressed store, hash-verified

224
225// EffectiveEnabled 判断用户是否应被下发到节点(便捷方法,使用当前时间)。
226func (u User) EffectiveEnabled() bool {
227 return u.EffectiveStatus() == StatusActive
228}

Calls 1

EffectiveStatusMethod · 0.95