shared

package
v0.4.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2016 License: MIT Imports: 3 Imported by: 0

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 {
	tchannel.Registrar
	PeerInfo() tchannel.LocalPeerInfo
	GetSubChannel(string, ...tchannel.SubChannelOption) *tchannel.SubChannel
}

The TChannel interface defines the dependencies for TChannel in Ringpop.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL