expose close() option for socket
This commit is contained in:
parent
2b1f0dada7
commit
7ff5492156
1 changed files with 5 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue