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

package tacitus
type ListenerService interface {
Open() error
Close() error
Subscribe(products ...string)
Stream() <-chan Trade
Error() <-chan error
SendErrors() bool
SetSendErrors(send bool)
SetLogger(logger Logger)
}