server: Remove unused constants
This commit is contained in:
@@ -53,12 +53,6 @@ type Server struct {
|
|||||||
mu sync.Mutex
|
mu sync.Mutex
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
|
||||||
serverOk int32 = iota
|
|
||||||
serverShutdown
|
|
||||||
serverClosed
|
|
||||||
)
|
|
||||||
|
|
||||||
func (srv *Server) isClosed() bool {
|
func (srv *Server) isClosed() bool {
|
||||||
srv.mu.Lock()
|
srv.mu.Lock()
|
||||||
defer srv.mu.Unlock()
|
defer srv.mu.Unlock()
|
||||||
|
|||||||
Reference in New Issue
Block a user