changed embedded mutex to private field (#222)
This commit is contained in:
@@ -9,7 +9,6 @@ import (
|
||||
"slices"
|
||||
"strconv"
|
||||
"strings"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"go.unistack.org/micro/v4/errors"
|
||||
@@ -46,7 +45,6 @@ type httpHandler struct {
|
||||
handlers *rhttp.Trie
|
||||
name string
|
||||
sopts server.Options
|
||||
sync.RWMutex
|
||||
}
|
||||
|
||||
func (h *httpHandler) Name() string {
|
||||
|
Reference in New Issue
Block a user