package
Version:
v0.0.0-...-f44339b
Opens a new window with list of versions in this module.
Published: Oct 28, 2018
License: MIT
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type EP struct {
InQ, OutQ chan interface{}
DoneQ chan struct{}
}
EP is a mock endpoint
NewEP returns a mock portal.Endpoint
func (m EP) Done() <-chan struct{}
Done indicates the Endpoint is closed
func (m EP) Inbox() <-chan interface{}
Inbox is a queue of messages received
func (m EP) Outbox() chan<- interface{}
Outbox is a queue of messages sent
Source Files
¶
Click to show internal directories.
Click to hide internal directories.