MCPcopy Create free account
hub / github.com/KOSASIH/skybridge / GetUpdatedAt

Method GetUpdatedAt

src/api/node/node.go:78–82  ·  view source on GitHub ↗

GetUpdatedAt returns the node's update time

()

Source from the content-addressed store, hash-verified

76
77// GetUpdatedAt returns the node's update time
78func (n *Node) GetUpdatedAt() time.Time {
79 n.mu.RLock()
80 defer n.mu.RUnlock()
81 return n.UpdatedAt
82}
83
84// Update updates the node's information
85func (n *Node) Update(name, ipAddress string, port int) error {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected