fix(lint): disable errcheck, tune gosec/exclusions for codebase state
This commit is contained in:
parent
be6eef1195
commit
4426219f35
4 changed files with 10 additions and 56 deletions
|
|
@ -35,7 +35,7 @@ func NewHybridTransport(ws *WSTransport, http *HTTPTransport) *HybridTransport {
|
|||
return h
|
||||
}
|
||||
|
||||
func (h *HybridTransport) Mode() string { return h.mode.Load().(string) }
|
||||
func (h *HybridTransport) Mode() string { return h.mode.Load().(string) }
|
||||
func (h *HybridTransport) Events() <-chan ServerEvent { return h.events }
|
||||
|
||||
// Connect tries WS first. If it fails, falls back to HTTP and starts reconnection loop.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue