Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidChannel = errors.New("invalid channel")
Functions ¶
This section is empty.
Types ¶
type ChanStream ¶
type ChanStream struct {
// contains filtered or unexported fields
}
ChanStream streams ticker price using channels.
func NewChanStream ¶
func NewChanStream(t <-chan ticker.Price, errs <-chan error) (*ChanStream, error)
NewChanStream returns new ChanStream instance.
Click to show internal directories.
Click to hide internal directories.