Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTChannelContext ¶
func NewTChannelContext(timeout time.Duration) (tchannel.ContextWithHeaders, context.CancelFunc)
NewTChannelContext creates a new TChannel context with default options suitable for use in Ringpop.
Types ¶
type SubChannel ¶
type SubChannel interface { tchannel.Registrar }
SubChannel represents a TChannel SubChannel as used in Ringpop.
type TChannel ¶
type TChannel interface { GetSubChannel(string, ...tchannel.SubChannelOption) *tchannel.SubChannel PeerInfo() tchannel.LocalPeerInfo Register(h tchannel.Handler, methodName string) State() tchannel.ChannelState }
The TChannel interface defines the dependencies for TChannel in Ringpop.
Click to show internal directories.
Click to hide internal directories.