Documentation
¶
Index ¶
- type Filter
- type Stream
- func (s Stream) Close()
- func (s Stream) First() (f *future2go.Future)
- func (s Stream) Listen(sr Suscriber) (ss Suscription)
- func (s Stream) Split(f Filter) (y Stream, n Stream)
- func (s Stream) Transform(t Transformer) (ts Stream)
- func (s Stream) Where(f Filter) (fs Stream)
- func (s Stream) WhereNot(f Filter) (fs Stream)
- type StreamController
- type Suscriber
- type Suscription
- type Transformer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Stream ¶
func (Stream) Listen ¶
func (s Stream) Listen(sr Suscriber) (ss Suscription)
func (Stream) Transform ¶
func (s Stream) Transform(t Transformer) (ts Stream)
type StreamController ¶
type StreamController struct {
Stream
}
func New ¶
func New() (sc StreamController)
func (StreamController) Add ¶
func (sc StreamController) Add(Data interface{})
func (StreamController) Join ¶
func (sc StreamController) Join(s Stream)
type Suscription ¶
type Suscription struct {
// contains filtered or unexported fields
}
func NewSuscription ¶
func NewSuscription(index int, close chan int, sr Suscriber) (s Suscription)
func (Suscription) Close ¶
func (s Suscription) Close()
type Transformer ¶
type Transformer func(interface{}) interface{}
Click to show internal directories.
Click to hide internal directories.