Skip to content

Commit

Permalink
[chores] update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminwu committed Jul 21, 2021
1 parent 4f8a447 commit f6ba950
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/object/websocketserver/websocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func init() {
}

type (
// WebsocketServer is WebSocket protocol server.
// WebSocketServer implements WebSocket protocol in EG.
WebSocketServer struct {
superSpec *supervisor.Spec
spec *Spec
Expand All @@ -57,6 +57,7 @@ func (ws *WebSocketServer) DefaultSpec() interface{} {
return &Spec{}
}

// Validate valides the websocketserver structure.
func (ws *WebSocketServer) Validate() error {
return nil
}
Expand Down

0 comments on commit f6ba950

Please sign in to comment.