diff --git a/signald/signald.go b/signald/signald.go index 9f646f0..202ec46 100644 --- a/signald/signald.go +++ b/signald/signald.go @@ -99,6 +99,11 @@ func (s *Signald) connect() error { return nil } + +func (s *Signald) Close() error { + return s.socket.Close() +} + // Listen listens for events from signald func (s *Signald) Listen(c chan client_protocol.BasicResponse) { for {