Report card.
This commit is contained in:
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||

|

|
||||||
[](https://app.codecov.io/github/olahol/melody)
|
[](https://app.codecov.io/github/olahol/melody)
|
||||||
|
[](https://goreportcard.com/report/github.com/olahol/melody)
|
||||||
[](https://godoc.org/github.com/olahol/melody)
|
[](https://godoc.org/github.com/olahol/melody)
|
||||||
|
|
||||||
> :notes: Minimalist websocket framework for Go.
|
> :notes: Minimalist websocket framework for Go.
|
||||||
|
|||||||
+1
-1
@@ -186,7 +186,7 @@ func (s *Session) CloseWithMsg(msg []byte) error {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set is used to store a new key/value pair exclusivelly for this session.
|
// Set is used to store a new key/value pair exclusively for this session.
|
||||||
// It also lazy initializes s.Keys if it was not used previously.
|
// It also lazy initializes s.Keys if it was not used previously.
|
||||||
func (s *Session) Set(key string, value interface{}) {
|
func (s *Session) Set(key string, value interface{}) {
|
||||||
s.rwmutex.Lock()
|
s.rwmutex.Lock()
|
||||||
|
|||||||
Reference in New Issue
Block a user