Browse Source

pubsub implements service.OnReset (#156)

pull/1780/head
Simon Vadée 7 years ago
committed by Anton Kaliaev
parent
commit
066fe82a92
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      pubsub/pubsub.go

+ 5
- 0
pubsub/pubsub.go View File

@ -209,6 +209,11 @@ func (s *Server) OnStart() error {
return nil
}
// OnReset implements Service.OnReset
func (s *Server) OnReset() error {
return nil
}
func (s *Server) loop(state state) {
loop:
for cmd := range s.cmds {


Loading…
Cancel
Save