13 lines
228 B
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)
|
|
}
|