Fix godoc style comments (#356)

This commit is contained in:
Christian Muehlhaeuser
2020-11-13 00:14:59 +01:00
committed by GitHub
parent 8f921fbfde
commit 2e1f8d29b5
59 changed files with 147 additions and 147 deletions

View File

@@ -46,7 +46,7 @@ func setupStats() error {
return nil
}
//IsStreamConnected checks if the stream is connected or not
// IsStreamConnected checks if the stream is connected or not.
func IsStreamConnected() bool {
if !_stats.StreamConnected {
return false
@@ -62,7 +62,7 @@ func IsStreamConnected() bool {
return _stats.StreamConnected
}
//SetClientActive sets a client as active and connected
// SetClientActive sets a client as active and connected.
func SetClientActive(client models.Client) {
l.Lock()
// If this clientID already exists then update it.
@@ -88,7 +88,7 @@ func SetClientActive(client models.Client) {
}
}
//RemoveClient removes a client from the active clients record
// RemoveClient removes a client from the active clients record.
func RemoveClient(clientID string) {
log.Trace("Removing the client:", clientID)