MCPcopy
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
175func (srv *endlessServer) setState(st uint8) {
176 srv.lock.Lock()
177 defer srv.lock.Unlock()
178
179 srv.state = st
180}
181
182/*
183Serve accepts incoming HTTP connections on the listener l, creating a new

Callers 2

ServeMethod · 0.95
shutdownMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected