Some cleanup, fixes typos and grammar errors
This commit is contained in:
+1
-1
@@ -253,7 +253,7 @@ func Authenticator(ds model.DataStore) func(next http.Handler) http.Handler {
|
||||
}
|
||||
}
|
||||
|
||||
// JWTRefresher updates the expire date of the received JWT token, and add the new one to the Authorization Header
|
||||
// JWTRefresher updates the expiry date of the received JWT token, and add the new one to the Authorization Header
|
||||
func JWTRefresher(next http.Handler) http.Handler {
|
||||
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
|
||||
ctx := r.Context()
|
||||
|
||||
@@ -222,7 +222,7 @@ func (b *broker) listen() {
|
||||
c.diode.put(msg)
|
||||
|
||||
case c := <-b.unsubscribing:
|
||||
// A client has detached and we want to
|
||||
// A client has detached, and we want to
|
||||
// stop sending them messages.
|
||||
delete(clients, c)
|
||||
log.Debug("Removed client from event broker", "numClients", len(clients), "client", c.String())
|
||||
|
||||
Reference in New Issue
Block a user