Formatting / Linting
continuous-integration/drone/pr Build is passing
Details
continuous-integration/drone/pr Build is passing
Details
This commit is contained in:
parent
8d7052bb8d
commit
f2ad64fe8b
|
@ -1,14 +1,13 @@
|
|||
package servers
|
||||
|
||||
|
||||
import (
|
||||
"cwtch.im/cwtch/event"
|
||||
"cwtch.im/cwtch/model"
|
||||
"cwtch.im/cwtch/model/attr"
|
||||
"cwtch.im/cwtch/model/constants"
|
||||
"cwtch.im/cwtch/peer"
|
||||
"cwtch.im/cwtch/settings"
|
||||
"cwtch.im/cwtch/protocol/connections"
|
||||
"cwtch.im/cwtch/settings"
|
||||
"encoding/json"
|
||||
)
|
||||
|
||||
|
@ -46,7 +45,6 @@ func (f *Functionality) OnEvent(ev event.Event, profile peer.CwtchPeer) {
|
|||
// TODO: do we need a secondary heartbeat for less common updates?
|
||||
case event.Heartbeat:
|
||||
f.PublishServerUpdate(profile)
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -77,7 +75,6 @@ type SyncStatus struct {
|
|||
LastMessageTime string `json:"lastMessageTime"`
|
||||
}
|
||||
|
||||
|
||||
// Server encapsulates the information needed to represent a server...
|
||||
type Server struct {
|
||||
Onion string `json:"onion"`
|
||||
|
|
Loading…
Reference in New Issue