Slide 63
Slide 63 text
type Transport interface {
Tomb() *tomb.Tomb
Ready() <-chan struct{}
Listen(serviceName string, inboundChan chan<- message.Request) error
StopListening(serviceName string) bool
Respond(request message.Request, response message.Response) error
Send(req message.Request, timeout time.Duration) (message.Response, error)
}