This repository has been archived on 2022-11-30. You can view files and clone it, but cannot push or open issues or pull requests.
tacitus/listener.go

13 lines
228 B
Go
Raw Normal View History

2017-09-24 16:21:16 -07:00
package tacitus
type ListenerService interface {
Open() error
2017-09-27 20:38:25 -07:00
Close() error
Subscribe(products ...string)
2017-09-24 16:21:16 -07:00
Stream() <-chan Trade
Error() <-chan error
2017-09-27 20:38:25 -07:00
SendErrors() bool
SetSendErrors(send bool)
2017-09-24 22:16:16 -07:00
SetLogger(logger Logger)
2017-09-24 16:21:16 -07:00
}