Documentation ¶
Index ¶
- Constants
- func Listen(s Stream, job Job)
- func ListenWithContext(s Stream, ctx context.Context, job Job)
- func NewProvider(capacity int, ctx context.Context) *provider
- func NewProviderWithStream(capacity int, s Stream, ctx context.Context) *provider
- func NewStream() *stream
- type Event
- type Job
- type Notifier
- type Notify
- type Provider
- type Stream
Constants ¶
View Source
const ( DATA byte = 0 START byte = 1 END byte = 2 )
Variables ¶
This section is empty.
Functions ¶
func NewProvider ¶
func NewProviderWithStream ¶
Types ¶
type Event ¶
func NewEndEvent ¶
func NewEndEvent() Event
func NewStartEvent ¶
func NewStartEvent() Event
Click to show internal directories.
Click to hide internal directories.