Merge pull request #946 from yujinqiu/fix-typo

Fix receivced, InboundBound, tranport typo
pull/962/head
DarienRaymond 7 years ago committed by GitHub
commit 5eac607087
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -56,7 +56,7 @@ func (d Destination) IsValid() bool {
return d.Network != Network_Unknown
}
// AsDestination converts current Enpoint into Destination.
// AsDestination converts current Endpoint into Destination.
func (p *Endpoint) AsDestination() Destination {
return Destination{
Network: p.Network,

@ -13,7 +13,7 @@ type OutboundRay interface {
// OutboundOutput provides a stream to retrieve the response from the
// outbound connection. The outbound connection shall close the channel
// after all responses are receivced and put into the channel.
// after all responses are received and put into the channel.
OutboundOutput() OutputStream
}
@ -24,13 +24,13 @@ type InboundRay interface {
// is received and put into the channel.
InboundInput() OutputStream
// InboudBound provides a stream of data for the inbound connection to write
// InboundOutput provides a stream of data for the inbound connection to write
// as response. The inbound connection shall write all the data from the
// channel until it is closed.
InboundOutput() InputStream
}
// Ray is an internal tranport channel between inbound and outbound connection.
// Ray is an internal transport channel between inbound and outbound connection.
type Ray interface {
InboundRay
OutboundRay

Loading…
Cancel
Save