server: Remove unused constants

This commit is contained in:
Adnan Maolood 2021-02-22 21:28:18 -05:00
parent 31077afbbe
commit 99e6c37d92

View File

@ -53,12 +53,6 @@ type Server struct {
mu sync.Mutex
}
const (
serverOk int32 = iota
serverShutdown
serverClosed
)
func (srv *Server) isClosed() bool {
srv.mu.Lock()
defer srv.mu.Unlock()