Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fvbock/endless
/ setState
Method
setState
endless.go:175–180 ·
view source on GitHub ↗
(st uint8)
Source
from the content-addressed store, hash-verified
173
}
174
175
func
(srv *endlessServer) setState(st uint8) {
176
srv.lock.Lock()
177
defer
srv.lock.Unlock()
178
179
srv.state = st
180
}
181
182
/*
183
Serve accepts incoming HTTP connections on the listener l, creating a new
Callers
2
Serve
Method · 0.95
shutdown
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected