SYMBOL INDEX (4358 symbols across 356 files) FILE: all_channels.go function registerNewChannel (line 37) | func registerNewChannel(ch *Channel) { function removeClosedChannel (line 52) | func removeClosedChannel(ch *Channel) { function findChannelByID (line 71) | func findChannelByID(id uint32) (*Channel, bool) { FILE: all_channels_test.go function TestAllChannelsRegistered (line 30) | func TestAllChannelsRegistered(t *testing.T) { FILE: arguments.go type ArgReader (line 34) | type ArgReader type ArgWriter (line 38) | type ArgWriter interface type ArgWritable (line 48) | type ArgWritable interface type ArgReadable (line 55) | type ArgReadable interface type ArgReadHelper (line 61) | type ArgReadHelper struct method read (line 72) | func (r ArgReadHelper) read(f func() error) error { method Read (line 86) | func (r ArgReadHelper) Read(bs *[]byte) error { method ReadJSON (line 95) | func (r ArgReadHelper) ReadJSON(data interface{}) error { function NewArgReader (line 68) | func NewArgReader(reader ArgReader, err error) ArgReadHelper { type ArgWriteHelper (line 113) | type ArgWriteHelper struct method write (line 124) | func (w ArgWriteHelper) write(f func() error) error { method Write (line 137) | func (w ArgWriteHelper) Write(bs []byte) error { method WriteJSON (line 145) | func (w ArgWriteHelper) WriteJSON(data interface{}) error { function NewArgWriter (line 120) | func NewArgWriter(writer io.WriteCloser, err error) ArgWriteHelper { FILE: arguments_test.go type bufferWithClose (line 34) | type bufferWithClose struct method Close (line 50) | func (w *bufferWithClose) Close() error { function newWriter (line 42) | func newWriter() *bufferWithClose { function newReader (line 46) | func newReader(bs []byte) *bufferWithClose { type testObject (line 55) | type testObject struct function TestJSONInputOutput (line 60) | func TestJSONInputOutput(t *testing.T) { function TestReadNotEmpty (line 77) | func TestReadNotEmpty(t *testing.T) { function BenchmarkArgReaderWriter (line 86) | func BenchmarkArgReaderWriter(b *testing.B) { FILE: benchmark/benchclient/main.go function main (line 46) | func main() { function makeCalls (line 98) | func makeCalls(n int, f func(n int) ([]time.Duration, error)) { FILE: benchmark/benchserver/main.go function main (line 41) | func main() { FILE: benchmark/build_manager.go type buildManager (line 30) | type buildManager struct method GoBinary (line 49) | func (m *buildManager) GoBinary(mainFile string) (string, error) { type build (line 35) | type build struct method Build (line 62) | func (b *build) Build() { function newBuildManager (line 43) | func newBuildManager() *buildManager { FILE: benchmark/client_server_bench_test.go function BenchmarkServer (line 32) | func BenchmarkServer(b *testing.B) { function BenchmarkClient (line 57) | func BenchmarkClient(b *testing.B) { FILE: benchmark/external_client.go type externalClient (line 31) | type externalClient struct method Warmup (line 59) | func (c *externalClient) Warmup() error { method callAndParse (line 70) | func (c *externalClient) callAndParse(cmd string) ([]time.Duration, er... method RawCall (line 94) | func (c *externalClient) RawCall(n int) ([]time.Duration, error) { method ThriftCall (line 98) | func (c *externalClient) ThriftCall(n int) ([]time.Duration, error) { function newExternalClient (line 36) | func newExternalClient(hosts []string, opts *options) Client { FILE: benchmark/external_common.go type externalCmd (line 33) | type externalCmd struct method writeAndRead (line 76) | func (c *externalCmd) writeAndRead(cmd string) (string, error) { method Close (line 88) | func (c *externalCmd) Close() { function newExternalCmd (line 40) | func newExternalCmd(mainFile string, benchArgs []string) (*externalCmd, ... FILE: benchmark/external_server.go type externalServer (line 30) | type externalServer struct method HostPort (line 53) | func (s *externalServer) HostPort() string { method RawCalls (line 57) | func (s *externalServer) RawCalls() int { method ThriftCalls (line 61) | func (s *externalServer) ThriftCalls() int { method writeAndReadInt (line 65) | func (s *externalServer) writeAndReadInt(cmd string) int { function newExternalServer (line 36) | func newExternalServer(opts *options) Server { FILE: benchmark/frame_templates.go constant _idOffset (line 35) | _idOffset = 4 constant _idOffsetEnd (line 36) | _idOffsetEnd = _idOffset + 4 type frames (line 39) | type frames struct method duplicate (line 44) | func (f frames) duplicate() frames { method writeInitReq (line 60) | func (f frames) writeInitReq(w io.Writer) error { method writeInitRes (line 65) | func (f frames) writeInitRes(w io.Writer) error { method writeCallReq (line 70) | func (f frames) writeCallReq(id uint32, w io.Writer) (int, error) { method writeCallRes (line 75) | func (f frames) writeCallRes(id uint32, w io.Writer) (int, error) { method writeMulti (line 80) | func (f frames) writeMulti(id uint32, w io.Writer, frames [][]byte) (i... function deepCopyByteSlice (line 51) | func deepCopyByteSlice(bs [][]byte) [][]byte { function getRawCallFrames (line 93) | func getRawCallFrames(timeout time.Duration, svcName string, reqSize int... function withNewServerClient (line 135) | func withNewServerClient(svcName string, f func(server, client *tchannel... FILE: benchmark/interfaces.go type Client (line 29) | type Client interface type inProcClient (line 45) | type inProcClient interface type Server (line 56) | type Server interface type Relay (line 71) | type Relay interface FILE: benchmark/internal_client.go type internalClient (line 36) | type internalClient struct method Warmup (line 92) | func (c *internalClient) Warmup() error { method makeCalls (line 106) | func (c *internalClient) makeCalls(latencies []time.Duration, f func()... method RawCallBuffer (line 117) | func (c *internalClient) RawCallBuffer(latencies []time.Duration) error { method RawCall (line 140) | func (c *internalClient) RawCall(n int) ([]time.Duration, error) { method ThriftCallBuffer (line 145) | func (c *internalClient) ThriftCallBuffer(latencies []time.Duration) e... method ThriftCall (line 166) | func (c *internalClient) ThriftCall(n int) ([]time.Duration, error) { method Close (line 171) | func (c *internalClient) Close() { function NewClient (line 47) | func NewClient(hosts []string, optFns ...Option) Client { function newClient (line 58) | func newClient(hosts []string, opts *options) inProcClient { function newInternalClient (line 69) | func newInternalClient(hosts []string, opts *options) inProcClient { FILE: benchmark/internal_multi_client.go type internalMultiClient (line 29) | type internalMultiClient struct method Warmup (line 44) | func (c *internalMultiClient) Warmup() error { method Close (line 53) | func (c *internalMultiClient) Close() { method RawCall (line 59) | func (c *internalMultiClient) RawCall(n int) ([]time.Duration, error) { method ThriftCall (line 65) | func (c *internalMultiClient) ThriftCall(n int) ([]time.Duration, erro... method makeCalls (line 75) | func (c *internalMultiClient) makeCalls(n int, f clientToCallFunc) ([]... method callUsingClient (line 98) | func (c *internalMultiClient) callUsingClient(latencies []time.Duratio... function newInternalMultiClient (line 33) | func newInternalMultiClient(hosts []string, opts *options) Client { type callFunc (line 71) | type callFunc type clientToCallFunc (line 73) | type clientToCallFunc FILE: benchmark/internal_server.go type internalServer (line 38) | type internalServer struct method HostPort (line 82) | func (s *internalServer) HostPort() string { method Advertise (line 87) | func (s *internalServer) Advertise(hyperbahnHosts []string) error { method Close (line 97) | func (s *internalServer) Close() { method RawCalls (line 104) | func (s *internalServer) RawCalls() int { method ThriftCalls (line 108) | func (s *internalServer) ThriftCalls() int { function NewServer (line 47) | func NewServer(optFns ...Option) Server { type rawHandler (line 112) | type rawHandler struct method OnError (line 116) | func (rawHandler) OnError(ctx context.Context, err error) { method Handle (line 120) | func (h rawHandler) Handle(ctx context.Context, args *raw.Args) (*raw.... type handler (line 128) | type handler struct method Echo (line 132) | func (h handler) Echo(ctx thrift.Context, arg1 string) (string, error) { FILE: benchmark/internal_tcp_client.go type internalTCPClient (line 34) | type internalTCPClient struct method Warmup (line 53) | func (c *internalTCPClient) Warmup() error { method readConn (line 69) | func (c *internalTCPClient) readConn() { method makeCalls (line 98) | func (c *internalTCPClient) makeCalls(latencies []time.Duration, f fun... method RawCallBuffer (line 143) | func (c *internalTCPClient) RawCallBuffer(latencies []time.Duration) e... method RawCall (line 157) | func (c *internalTCPClient) RawCall(n int) ([]time.Duration, error) { method ThriftCallBuffer (line 162) | func (c *internalTCPClient) ThriftCallBuffer(latencies []time.Duration... method ThriftCall (line 166) | func (c *internalTCPClient) ThriftCall(n int) ([]time.Duration, error) { method Close (line 170) | func (c *internalTCPClient) Close() { function newInternalTCPClient (line 43) | func newInternalTCPClient(hosts []string, opts *options) inProcClient { type call (line 92) | type call struct FILE: benchmark/internal_tcp_server.go type internalTCPServer (line 34) | type internalTCPServer struct method acceptLoop (line 56) | func (s *internalTCPServer) acceptLoop() { method handleConn (line 70) | func (s *internalTCPServer) handleConn(conn net.Conn) { method writeResponses (line 90) | func (s *internalTCPServer) writeResponses(conn net.Conn, ids chan uin... method HostPort (line 109) | func (s *internalTCPServer) HostPort() string { method RawCalls (line 113) | func (s *internalTCPServer) RawCalls() int { method ThriftCalls (line 117) | func (s *internalTCPServer) ThriftCalls() int { method Close (line 122) | func (s *internalTCPServer) Close() { function newInternalTCPServer (line 41) | func newInternalTCPServer(opts *options) Server { FILE: benchmark/matrix_test.go function combinations (line 40) | func combinations(length int, f func([]bool)) { function TestCombinations (line 55) | func TestCombinations(t *testing.T) { function selectOptions (line 81) | func selectOptions(options []Option, toSelect []bool) []Option { function combineOpts (line 91) | func combineOpts(base, override []Option) []Option { function runSingleTest (line 96) | func runSingleTest(t *testing.T, baseOpts, serverOpts, clientOpts []Opti... function TestServerClientMatrix (line 132) | func TestServerClientMatrix(t *testing.T) { FILE: benchmark/options.go type options (line 25) | type options struct type Option (line 45) | type Option function WithTimeout (line 48) | func WithTimeout(timeout time.Duration) Option { function WithRequestSize (line 55) | func WithRequestSize(reqSize int) Option { function WithServiceName (line 62) | func WithServiceName(svcName string) Option { function WithExternalProcess (line 69) | func WithExternalProcess() Option { function WithNoLibrary (line 77) | func WithNoLibrary() Option { function WithNoChecking (line 86) | func WithNoChecking() Option { function WithNumClients (line 97) | func WithNumClients(numClients int) Option { function WithNoDurations (line 104) | func WithNoDurations() Option { function WithAdvertiseHosts (line 111) | func WithAdvertiseHosts(hosts []string) Option { function getOptions (line 117) | func getOptions(optFns []Option) *options { FILE: benchmark/real_relay.go type fixedHosts (line 33) | type fixedHosts struct method Get (line 39) | func (fh *fixedHosts) Get(cf relay.CallFrame, _ *relay.Conn) (string, ... type realRelay (line 53) | type realRelay struct method HostPort (line 82) | func (r *realRelay) HostPort() string { method Close (line 86) | func (r *realRelay) Close() { function NewRealRelay (line 59) | func NewRealRelay(services map[string][]string, appends []relay.KeyVal) ... FILE: benchmark/req_bytes.go function getRequestBytes (line 23) | func getRequestBytes(n int) []byte { function getRequestString (line 31) | func getRequestString(n int) string { FILE: benchmark/tcp_bench_test.go function echoServer (line 33) | func echoServer(tb testing.TB) net.Listener { function benchmarkClient (line 48) | func benchmarkClient(b *testing.B, dst string, reqSize int) { function benchmarkTCPDirect (line 72) | func benchmarkTCPDirect(b *testing.B, reqSize int) { function BenchmarkTCPDirect100Bytes (line 77) | func BenchmarkTCPDirect100Bytes(b *testing.B) { function BenchmarkTCPDirect1k (line 81) | func BenchmarkTCPDirect1k(b *testing.B) { function BenchmarkTCPDirect4k (line 85) | func BenchmarkTCPDirect4k(b *testing.B) { function benchmarkTCPRelay (line 89) | func benchmarkTCPRelay(b *testing.B, reqSize int) { function BenchmarkTCPRelay100Bytes (line 99) | func BenchmarkTCPRelay100Bytes(b *testing.B) { function BenchmarkTCPRelay1kBytes (line 103) | func BenchmarkTCPRelay1kBytes(b *testing.B) { function BenchmarkTCPRelay4k (line 107) | func BenchmarkTCPRelay4k(b *testing.B) { FILE: benchmark/tcp_frame_relay.go type tcpFrameRelay (line 29) | type tcpFrameRelay struct method handleConnFrameRelay (line 48) | func (r *tcpFrameRelay) handleConnFrameRelay(fromClient bool, src, dst... function NewTCPFrameRelay (line 36) | func NewTCPFrameRelay(dests []string, modifier func(bool, *tchannel.Fram... FILE: benchmark/tcp_raw_relay.go type tcpRelay (line 31) | type tcpRelay struct method acceptLoop (line 61) | func (r *tcpRelay) acceptLoop() { method handleIncoming (line 75) | func (r *tcpRelay) handleIncoming(src net.Conn) { method nextDestination (line 89) | func (r *tcpRelay) nextDestination() string { method HostPort (line 94) | func (r *tcpRelay) HostPort() string { method Close (line 98) | func (r *tcpRelay) Close() { function newTCPRelay (line 38) | func newTCPRelay(dests []string, handleConn func(fromClient bool, src, d... function NewTCPRawRelay (line 55) | func NewTCPRawRelay(dests []string) (Relay, error) { FILE: calloptions.go type Format (line 24) | type Format method String (line 34) | func (f Format) String() string { constant HTTP (line 28) | HTTP Format = "http" constant JSON (line 29) | JSON Format = "json" constant Raw (line 30) | Raw Format = "raw" constant Thrift (line 31) | Thrift Format = "thrift" type CallOptions (line 39) | type CallOptions struct method setHeaders (line 67) | func (c *CallOptions) setHeaders(headers transportHeaders) { method overrideHeaders (line 73) | func (c *CallOptions) overrideHeaders(headers transportHeaders) { function setResponseHeaders (line 92) | func setResponseHeaders(reqHeaders, respHeaders transportHeaders) { FILE: calloptions_test.go function TestSetHeaders (line 29) | func TestSetHeaders(t *testing.T) { FILE: channel.go constant ephemeralHostPort (line 51) | ephemeralHostPort = "0.0.0.0:0" type ChannelOptions (line 54) | type ChannelOptions struct method validateIdleCheck (line 895) | func (o *ChannelOptions) validateIdleCheck() error { type ChannelState (line 146) | type ChannelState constant ChannelClient (line 150) | ChannelClient ChannelState = iota + 1 constant ChannelListening (line 153) | ChannelListening constant ChannelStartClose (line 157) | ChannelStartClose constant ChannelInboundClosed (line 161) | ChannelInboundClosed constant ChannelClosed (line 164) | ChannelClosed type Channel (line 174) | type Channel struct method ConnectionOptions (line 363) | func (ch *Channel) ConnectionOptions() *ConnectionOptions { method Serve (line 370) | func (ch *Channel) Serve(l net.Listener) error { method ListenAndServe (line 396) | func (ch *Channel) ListenAndServe(hostPort string) error { method Register (line 448) | func (ch *Channel) Register(h Handler, methodName string) { method PeerInfo (line 458) | func (ch *Channel) PeerInfo() LocalPeerInfo { method createCommonStats (line 466) | func (ch *Channel) createCommonStats() { method GetSubChannel (line 482) | func (ch *Channel) GetSubChannel(serviceName string, opts ...SubChanne... method Peers (line 493) | func (ch *Channel) Peers() *PeerList { method RootPeers (line 501) | func (ch *Channel) RootPeers() *RootPeerList { method BeginCall (line 507) | func (ch *Channel) BeginCall(ctx context.Context, hostPort, serviceNam... method serve (line 514) | func (ch *Channel) serve() { method Ping (line 564) | func (ch *Channel) Ping(ctx context.Context, hostPort string) error { method Logger (line 575) | func (ch *Channel) Logger() Logger { method StatsReporter (line 580) | func (ch *Channel) StatsReporter() StatsReporter { method StatsTags (line 586) | func (ch *Channel) StatsTags() map[string]string { method ServiceName (line 595) | func (ch *Channel) ServiceName() string { method Connect (line 600) | func (ch *Channel) Connect(ctx context.Context, hostPort string) (*Con... method exchangeUpdated (line 669) | func (ch *Channel) exchangeUpdated(c *Connection) { method updatePeer (line 684) | func (ch *Channel) updatePeer(p *Peer) { method addConnection (line 693) | func (ch *Channel) addConnection(c *Connection, direction connectionDi... method connectionActive (line 712) | func (ch *Channel) connectionActive(c *Connection, direction connectio... method addConnectionToPeer (line 724) | func (ch *Channel) addConnectionToPeer(hostPort string, c *Connection,... method inboundConnectionActive (line 737) | func (ch *Channel) inboundConnectionActive(c *Connection) { method outboundConnectionActive (line 741) | func (ch *Channel) outboundConnectionActive(c *Connection) { method removeClosedConn (line 747) | func (ch *Channel) removeClosedConn(c *Connection) { method getMinConnectionState (line 757) | func (ch *Channel) getMinConnectionState() connectionState { method connectionCloseStateChange (line 768) | func (ch *Channel) connectionCloseStateChange(c *Connection) { method onClosed (line 819) | func (ch *Channel) onClosed() { method Closed (line 827) | func (ch *Channel) Closed() bool { method ClosedChan (line 833) | func (ch *Channel) ClosedChan() <-chan struct{} { method State (line 838) | func (ch *Channel) State() ChannelState { method Close (line 850) | func (ch *Channel) Close() { method RelayHost (line 891) | func (ch *Channel) RelayHost() RelayHost { type channelConnectionCommon (line 207) | type channelConnectionCommon struct method Tracer (line 223) | func (ccc channelConnectionCommon) Tracer() opentracing.Tracer { function NewChannel (line 233) | func NewChannel(serviceName string, opts *ChannelOptions) (*Channel, err... type Registrar (line 417) | type Registrar interface function toStringSet (line 903) | func toStringSet(ss []string) map[string]struct{} { function toServiceMethodSet (line 913) | func toServiceMethodSet(sms []string) (map[string]struct{}, error) { FILE: channel_test.go function toMap (line 38) | func toMap(fields LogFields) map[string]interface{} { function TestNewChannel (line 46) | func TestNewChannel(t *testing.T) { function TestLoggers (line 67) | func TestLoggers(t *testing.T) { function TestStats (line 84) | func TestStats(t *testing.T) { function TestRelayMaxTTL (line 110) | func TestRelayMaxTTL(t *testing.T) { function TestIsolatedSubChannelsDontSharePeers (line 132) | func TestIsolatedSubChannelsDontSharePeers(t *testing.T) { function TestChannelTracerMethod (line 164) | func TestChannelTracerMethod(t *testing.T) { function TestToServiceMethodSet (line 186) | func TestToServiceMethodSet(t *testing.T) { FILE: channel_utils_test.go function NewServer (line 32) | func NewServer(t testing.TB, opts *testutils.ChannelOpts) (*Channel, str... FILE: channelstate_string.go constant _ChannelState_name (line 7) | _ChannelState_name = "ChannelClientChannelListeningChannelStartCloseChan... method String (line 11) | func (i ChannelState) String() string { FILE: checked_frame_pool.go type CheckedFramePoolForTest (line 14) | type CheckedFramePoolForTest struct method Get (line 29) | func (p *CheckedFramePoolForTest) Get() *Frame { method Release (line 39) | func (p *CheckedFramePoolForTest) Release(f *Frame) { method CheckEmpty (line 72) | func (p *CheckedFramePoolForTest) CheckEmpty() CheckedFramePoolForTest... function NewCheckedFramePoolForTest (line 22) | func NewCheckedFramePoolForTest() *CheckedFramePoolForTest { type CheckedFramePoolForTestResult (line 61) | type CheckedFramePoolForTestResult struct method HasIssues (line 67) | func (r CheckedFramePoolForTestResult) HasIssues() bool { function recordStack (line 87) | func recordStack() string { function zeroOut (line 93) | func zeroOut(bs []byte) { FILE: checked_frame_pool_test.go function TestCheckedFramePoolForTest (line 11) | func TestCheckedFramePoolForTest(t *testing.T) { function CheckFramePoolIsEmpty (line 69) | func CheckFramePoolIsEmpty(t testing.TB, pool *CheckedFramePoolForTest) { FILE: checksum.go type ChecksumType (line 32) | type ChecksumType method ChecksumSize (line 70) | func (t ChecksumType) ChecksumSize() int { method pool (line 84) | func (t ChecksumType) pool() *sync.Pool { method New (line 89) | func (t ChecksumType) New() Checksum { method Release (line 96) | func (t ChecksumType) Release(checksum Checksum) { constant ChecksumTypeNone (line 36) | ChecksumTypeNone ChecksumType = 0 constant ChecksumTypeCrc32 (line 39) | ChecksumTypeCrc32 ChecksumType = 1 constant ChecksumTypeFarmhash (line 42) | ChecksumTypeFarmhash ChecksumType = 2 constant ChecksumTypeCrc32C (line 45) | ChecksumTypeCrc32C ChecksumType = 3 constant checksumCount (line 47) | checksumCount = 4 function init (line 50) | func init() { type Checksum (line 101) | type Checksum interface type nullChecksum (line 122) | type nullChecksum struct method TypeCode (line 125) | func (c nullChecksum) TypeCode() ChecksumType { return ChecksumTypeNone } method Size (line 128) | func (c nullChecksum) Size() int { return 0 } method Add (line 131) | func (c nullChecksum) Add(b []byte) []byte { return nil } method Sum (line 134) | func (c nullChecksum) Sum() []byte { return nil } method Release (line 137) | func (c nullChecksum) Release() { method Reset (line 142) | func (c nullChecksum) Reset() {} type hashChecksum (line 145) | type hashChecksum struct method TypeCode (line 160) | func (h *hashChecksum) TypeCode() ChecksumType { return h.checksumType } method Size (line 163) | func (h *hashChecksum) Size() int { return h.hash.Size() } method Add (line 166) | func (h *hashChecksum) Add(b []byte) []byte { h.hash.Write(b); return ... method Sum (line 169) | func (h *hashChecksum) Sum() []byte { return h.hash.Sum(h.sumCache) } method Release (line 172) | func (h *hashChecksum) Release() { h.TypeCode().Release(h) } method Reset (line 175) | func (h *hashChecksum) Reset() { h.hash.Reset() } function newHashChecksum (line 151) | func newHashChecksum(t ChecksumType, hash hash.Hash) *hashChecksum { type noReleaseChecksum (line 180) | type noReleaseChecksum struct method Release (line 184) | func (n *noReleaseChecksum) Release() {} FILE: close_test.go type channelState (line 40) | type channelState struct function makeCall (line 46) | func makeCall(client *Channel, server *testutils.TestServer) error { function assertStateChangesTo (line 54) | func assertStateChangesTo(t testing.TB, ch *Channel, state ChannelState) { function TestCloseOnlyListening (line 62) | func TestCloseOnlyListening(t *testing.T) { function TestCloseNewClient (line 71) | func TestCloseNewClient(t *testing.T) { function ignoreError (line 80) | func ignoreError(h *testHandler) Handler { function TestCloseAfterTimeout (line 87) | func TestCloseAfterTimeout(t *testing.T) { function TestRelayCloseTimeout (line 111) | func TestRelayCloseTimeout(t *testing.T) { function TestRaceExchangesWithClose (line 148) | func TestRaceExchangesWithClose(t *testing.T) { function TestCloseStress (line 275) | func TestCloseStress(t *testing.T) { type closeSemanticsTest (line 372) | type closeSemanticsTest struct method makeServer (line 377) | func (t *closeSemanticsTest) makeServer(name string) (*Channel, chan s... method withNewClient (line 391) | func (t *closeSemanticsTest) withNewClient(f func(ch *Channel)) { method startCall (line 397) | func (t *closeSemanticsTest) startCall(from *Channel, to *Channel, met... method call (line 412) | func (t *closeSemanticsTest) call(from *Channel, to *Channel) error { method callStream (line 420) | func (t *closeSemanticsTest) callStream(from *Channel, to *Channel) <-... method runTest (line 438) | func (t *closeSemanticsTest) runTest() { function TestCloseSemantics (line 490) | func TestCloseSemantics(t *testing.T) { function TestCloseSemanticsIsolated (line 499) | func TestCloseSemanticsIsolated(t *testing.T) { function TestCloseSingleChannel (line 508) | func TestCloseSingleChannel(t *testing.T) { function TestCloseOneSide (line 551) | func TestCloseOneSide(t *testing.T) { function TestCloseSendError (line 595) | func TestCloseSendError(t *testing.T) { FILE: conn_leak_test.go type loggerPtr (line 45) | type loggerPtr struct method WithFields (line 49) | func (l *loggerPtr) WithFields(fields ...LogField) Logger { function TestPeerConnectionLeaks (line 53) | func TestPeerConnectionLeaks(t *testing.T) { FILE: connection.go constant CurrentProtocolVersion (line 45) | CurrentProtocolVersion = 0x02 constant DefaultConnectTimeout (line 49) | DefaultConnectTimeout = 5 * time.Second constant DefaultConnectionBufferSize (line 53) | DefaultConnectionBufferSize = 512 type PeerVersion (line 58) | type PeerVersion struct type PeerInfo (line 65) | type PeerInfo struct method String (line 79) | func (p PeerInfo) String() string { method IsEphemeralHostPort (line 84) | func (p PeerInfo) IsEphemeralHostPort() bool { type LocalPeerInfo (line 89) | type LocalPeerInfo struct method String (line 96) | func (p LocalPeerInfo) String() string { type errConnectionUnknownState (line 118) | type errConnectionUnknownState struct method Error (line 123) | func (e errConnectionUnknownState) Error() string { type SendBufferSizeOverride (line 129) | type SendBufferSizeOverride struct type ConnectionOptions (line 135) | type ConnectionOptions struct method withDefaults (line 276) | func (co ConnectionOptions) withDefaults() ConnectionOptions { method getSendBufferSize (line 290) | func (co ConnectionOptions) getSendBufferSize(processName string) int { type connectionEvents (line 175) | type connectionEvents struct type Connection (line 187) | type Connection struct method onCancel (line 391) | func (c *Connection) onCancel(msgID uint32) { method onExchangeAdded (line 405) | func (c *Connection) onExchangeAdded() { method IsActive (line 410) | func (c *Connection) IsActive() bool { method callOnActive (line 414) | func (c *Connection) callOnActive() { method callOnCloseStateChange (line 436) | func (c *Connection) callOnCloseStateChange() { method callOnExchangeChange (line 442) | func (c *Connection) callOnExchangeChange() { method ping (line 449) | func (c *Connection) ping(ctx context.Context) error { method handlePingRes (line 465) | func (c *Connection) handlePingRes(frame *Frame) bool { method handlePingReq (line 475) | func (c *Connection) handlePingReq(frame *Frame) { method sendMessage (line 488) | func (c *Connection) sendMessage(msg message) error { method recvMessage (line 505) | func (c *Connection) recvMessage(ctx context.Context, msg message, mex... method RemotePeerInfo (line 520) | func (c *Connection) RemotePeerInfo() PeerInfo { method NextMessageID (line 525) | func (c *Connection) NextMessageID() uint32 { method SendSystemError (line 530) | func (c *Connection) SendSystemError(id uint32, span Span, err error) ... method logConnectionError (line 582) | func (c *Connection) logConnectionError(site string, err error) error { method connectionError (line 605) | func (c *Connection) connectionError(site string, err error) error { method protocolError (line 631) | func (c *Connection) protocolError(id uint32, err error) error { method withStateLock (line 650) | func (c *Connection) withStateLock(f func() error) error { method withStateRLock (line 659) | func (c *Connection) withStateRLock(f func() error) error { method readState (line 667) | func (c *Connection) readState() connectionState { method readFrames (line 679) | func (c *Connection) readFrames(_ uint32) { method handleFrameRelay (line 719) | func (c *Connection) handleFrameRelay(frame *Frame) bool { method handleFrameNoRelay (line 744) | func (c *Connection) handleFrameNoRelay(frame *Frame) bool { method writeFrames (line 778) | func (c *Connection) writeFrames(_ uint32) { method updateLastActivityRead (line 816) | func (c *Connection) updateLastActivityRead(frame *Frame) { method updateLastActivityWrite (line 824) | func (c *Connection) updateLastActivityWrite(frame *Frame) { method hasPendingCalls (line 831) | func (c *Connection) hasPendingCalls() bool { method checkExchanges (line 843) | func (c *Connection) checkExchanges() { method close (line 903) | func (c *Connection) close(fields ...LogField) error { method Close (line 938) | func (c *Connection) Close() error { method closeNetwork (line 945) | func (c *Connection) closeNetwork() { method getLastActivityReadTime (line 963) | func (c *Connection) getLastActivityReadTime() time.Time { method getLastActivityWriteTime (line 970) | func (c *Connection) getLastActivityWriteTime() time.Time { type peerAddressComponents (line 237) | type peerAddressComponents struct type connectionState (line 247) | type connectionState constant connectionActive (line 251) | connectionActive connectionState = iota + 1 constant connectionStartClose (line 255) | connectionStartClose constant connectionInboundClosed (line 259) | connectionInboundClosed constant connectionClosed (line 262) | connectionClosed function getTimeout (line 267) | func getTimeout(ctx context.Context) time.Duration { method setConnectionTosPriority (line 299) | func (ch *Channel) setConnectionTosPriority(tosPriority tos.ToS, c net.C... method newConnection (line 316) | func (ch *Channel) newConnection(baseCtx context.Context, conn net.Conn,... function getSysConn (line 974) | func getSysConn(conn net.Conn, log Logger) syscall.RawConn { function isMessageTypeCall (line 1002) | func isMessageTypeCall(frame *Frame) bool { FILE: connection_bench_test.go constant benchService (line 39) | benchService = "bench-server" type benchmarkHandler (line 41) | type benchmarkHandler struct method Handle (line 43) | func (h *benchmarkHandler) Handle(ctx context.Context, args *raw.Args)... method OnError (line 50) | func (h *benchmarkHandler) OnError(ctx context.Context, err error) { type latencyTracker (line 53) | type latencyTracker struct method addLatency (line 73) | func (lt *latencyTracker) addLatency(d time.Duration) { method report (line 79) | func (lt *latencyTracker) report(t testing.TB) { function newLatencyTracker (line 60) | func newLatencyTracker() *latencyTracker { function setupServer (line 94) | func setupServer(t testing.TB) *Channel { type benchmarkConfig (line 101) | type benchmarkConfig struct function benchmarkCallsN (line 109) | func benchmarkCallsN(b *testing.B, c benchmarkConfig) { function BenchmarkCallsSerial (line 171) | func BenchmarkCallsSerial(b *testing.B) { function BenchmarkCallsConcurrentServer (line 180) | func BenchmarkCallsConcurrentServer(b *testing.B) { function BenchmarkCallsConcurrentClient (line 189) | func BenchmarkCallsConcurrentClient(b *testing.B) { FILE: connection_direction.go type connectionDirection (line 25) | type connectionDirection method String (line 32) | func (d connectionDirection) String() string { constant inbound (line 28) | inbound connectionDirection = iota + 1 constant outbound (line 29) | outbound FILE: connection_internal_test.go type errSyscallConn (line 35) | type errSyscallConn struct method SyscallConn (line 39) | func (c errSyscallConn) SyscallConn() (syscall.RawConn, error) { function TestGetSysConn (line 43) | func TestGetSysConn(t *testing.T) { FILE: connection_test.go constant inbound (line 54) | inbound = 0 constant outbound (line 55) | outbound = 1 type testHandler (line 63) | type testHandler struct method Handle (line 76) | func (h *testHandler) Handle(ctx context.Context, args *raw.Args) (*ra... method OnError (line 108) | func (h *testHandler) OnError(ctx context.Context, err error) { function newTestHandler (line 72) | func newTestHandler(t testing.TB) *testHandler { function writeFlushStr (line 114) | func writeFlushStr(w ArgWriter, d string) error { function isTosPriority (line 121) | func isTosPriority(c net.Conn, tosPriority tos.ToS) (bool, error) { function getErrorFrame (line 135) | func getErrorFrame(t testing.TB) *Frame { function TestRoundTrip (line 153) | func TestRoundTrip(t *testing.T) { function TestDefaultFormat (line 183) | func TestDefaultFormat(t *testing.T) { function TestRemotePeer (line 201) | func TestRemotePeer(t *testing.T) { function TestReuseConnection (line 262) | func TestReuseConnection(t *testing.T) { function TestPing (line 318) | func TestPing(t *testing.T) { function TestBadRequest (line 350) | func TestBadRequest(t *testing.T) { function TestNoTimeout (line 367) | func TestNoTimeout(t *testing.T) { function TestCancelled (line 379) | func TestCancelled(t *testing.T) { function TestNoServiceNaming (line 396) | func TestNoServiceNaming(t *testing.T) { function TestServerBusy (line 408) | func TestServerBusy(t *testing.T) { function TestUnexpectedHandlerError (line 430) | func TestUnexpectedHandlerError(t *testing.T) { type onErrorTestHandler (line 455) | type onErrorTestHandler struct method OnError (line 460) | func (h onErrorTestHandler) OnError(ctx context.Context, err error) { function TestTimeout (line 464) | func TestTimeout(t *testing.T) { function TestServerClientCancellation (line 494) | func TestServerClientCancellation(t *testing.T) { function TestCancelWithoutSendCancelOnContextCanceled (line 537) | func TestCancelWithoutSendCancelOnContextCanceled(t *testing.T) { function TestLargeMethod (line 606) | func TestLargeMethod(t *testing.T) { function TestLargeTimeout (line 617) | func TestLargeTimeout(t *testing.T) { function TestFragmentation (line 633) | func TestFragmentation(t *testing.T) { function TestFragmentationSlowReader (line 661) | func TestFragmentationSlowReader(t *testing.T) { function TestWriteArg3AfterTimeout (line 701) | func TestWriteArg3AfterTimeout(t *testing.T) { function TestLargeSendSystemError (line 749) | func TestLargeSendSystemError(t *testing.T) { function TestWriteErrorAfterTimeout (line 788) | func TestWriteErrorAfterTimeout(t *testing.T) { function TestWriteAfterConnectionError (line 822) | func TestWriteAfterConnectionError(t *testing.T) { function TestReadTimeout (line 859) | func TestReadTimeout(t *testing.T) { function TestWriteTimeout (line 890) | func TestWriteTimeout(t *testing.T) { function TestGracefulClose (line 913) | func TestGracefulClose(t *testing.T) { function TestNetDialTimeout (line 930) | func TestNetDialTimeout(t *testing.T) { function TestConnectTimeout (line 957) | func TestConnectTimeout(t *testing.T) { function TestParallelConnectionAccepts (line 999) | func TestParallelConnectionAccepts(t *testing.T) { function TestConnectionIDs (line 1017) | func TestConnectionIDs(t *testing.T) { function TestTosPriority (line 1055) | func TestTosPriority(t *testing.T) { function TestPeerStatusChangeClientReduction (line 1075) | func TestPeerStatusChangeClientReduction(t *testing.T) { function TestPeerStatusChangeClient (line 1105) | func TestPeerStatusChangeClient(t *testing.T) { function TestPeerStatusChangeServer (line 1146) | func TestPeerStatusChangeServer(t *testing.T) { function TestContextCanceledOnTCPClose (line 1177) | func TestContextCanceledOnTCPClose(t *testing.T) { function getConnection (line 1250) | func getConnection(t testing.TB, ch *Channel, direction int) *Connection... function TestLastActivityTime (line 1271) | func TestLastActivityTime(t *testing.T) { function TestLastActivityTimePings (line 1356) | func TestLastActivityTimePings(t *testing.T) { function TestSendBufferSize (line 1397) | func TestSendBufferSize(t *testing.T) { function TestInvalidTransportHeaders (line 1457) | func TestInvalidTransportHeaders(t *testing.T) { function TestCustomDialer (line 1520) | func TestCustomDialer(t *testing.T) { function TestInboundConnContext (line 1544) | func TestInboundConnContext(t *testing.T) { function TestOutboundConnContext (line 1564) | func TestOutboundConnContext(t *testing.T) { function TestWithTLSNoRelay (line 1587) | func TestWithTLSNoRelay(t *testing.T) { function TestWithTLSRelayOnly (line 1617) | func TestWithTLSRelayOnly(t *testing.T) { FILE: connectionstate_string.go constant _connectionState_name (line 7) | _connectionState_name = "connectionActiveconnectionStartCloseconnectionI... method String (line 11) | func (i connectionState) String() string { FILE: context.go constant defaultTimeout (line 29) | defaultTimeout = time.Second type contextKey (line 31) | type contextKey constant contextKeyTChannel (line 34) | contextKeyTChannel contextKey = iota constant contextKeyHeaders (line 35) | contextKeyHeaders type tchannelCtxParams (line 38) | type tchannelCtxParams struct type IncomingCall (line 49) | type IncomingCall interface function getTChannelParams (line 77) | func getTChannelParams(ctx context.Context) *tchannelCtxParams { function NewContext (line 85) | func NewContext(timeout time.Duration) (context.Context, context.CancelF... function WrapContextForTest (line 92) | func WrapContextForTest(ctx context.Context, call IncomingCall) context.... function newIncomingContext (line 98) | func newIncomingContext(ctx context.Context, call IncomingCall, timeout ... function CurrentCall (line 106) | func CurrentCall(ctx context.Context) IncomingCall { function currentCallOptions (line 113) | func currentCallOptions(ctx context.Context) *CallOptions { function isTracingDisabled (line 120) | func isTracingDisabled(ctx context.Context) bool { FILE: context_builder.go type ContextBuilder (line 31) | type ContextBuilder struct method SetTimeout (line 80) | func (cb *ContextBuilder) SetTimeout(timeout time.Duration) *ContextBu... method AddHeader (line 86) | func (cb *ContextBuilder) AddHeader(key, value string) *ContextBuilder { method SetHeaders (line 97) | func (cb *ContextBuilder) SetHeaders(headers map[string]string) *Conte... method SetShardKey (line 104) | func (cb *ContextBuilder) SetShardKey(sk string) *ContextBuilder { method SetFormat (line 113) | func (cb *ContextBuilder) SetFormat(f Format) *ContextBuilder { method SetRoutingKey (line 122) | func (cb *ContextBuilder) SetRoutingKey(rk string) *ContextBuilder { method SetRoutingDelegate (line 131) | func (cb *ContextBuilder) SetRoutingDelegate(rd string) *ContextBuilder { method SetConnectTimeout (line 142) | func (cb *ContextBuilder) SetConnectTimeout(d time.Duration) *ContextB... method SetConnectBaseContext (line 148) | func (cb *ContextBuilder) SetConnectBaseContext(ctx context.Context) *... method HideListeningOnOutbound (line 155) | func (cb *ContextBuilder) HideListeningOnOutbound() *ContextBuilder { method DisableTracing (line 161) | func (cb *ContextBuilder) DisableTracing() *ContextBuilder { method SetIncomingCallForTest (line 168) | func (cb *ContextBuilder) SetIncomingCallForTest(call IncomingCall) *C... method SetRetryOptions (line 173) | func (cb *ContextBuilder) SetRetryOptions(retryOptions *RetryOptions) ... method SetTimeoutPerAttempt (line 179) | func (cb *ContextBuilder) SetTimeoutPerAttempt(timeoutPerAttempt time.... method SetParentContext (line 188) | func (cb *ContextBuilder) SetParentContext(ctx context.Context) *Conte... method setIncomingCall (line 193) | func (cb *ContextBuilder) setIncomingCall(call IncomingCall) *ContextB... method getHeaders (line 198) | func (cb *ContextBuilder) getHeaders() map[string]string { method Build (line 219) | func (cb *ContextBuilder) Build() (ContextWithHeaders, context.CancelF... function NewContextBuilder (line 73) | func NewContextBuilder(timeout time.Duration) *ContextBuilder { FILE: context_header.go type ContextWithHeaders (line 26) | type ContextWithHeaders interface type headerCtx (line 43) | type headerCtx struct method headers (line 53) | func (c headerCtx) headers() *headersContainer { method Headers (line 61) | func (c headerCtx) Headers() map[string]string { method ResponseHeaders (line 69) | func (c headerCtx) ResponseHeaders() map[string]string { method SetResponseHeaders (line 77) | func (c headerCtx) SetResponseHeaders(headers map[string]string) { method Child (line 86) | func (c headerCtx) Child() ContextWithHeaders { type headersContainer (line 48) | type headersContainer struct function Wrap (line 97) | func Wrap(ctx context.Context) ContextWithHeaders { function WrapWithHeaders (line 110) | func WrapWithHeaders(ctx context.Context, headers map[string]string) Con... function WithoutHeaders (line 119) | func WithoutHeaders(ctx context.Context) context.Context { FILE: context_internal_test.go function TestNewContextBuilderDisableTracing (line 33) | func TestNewContextBuilderDisableTracing(t *testing.T) { function TestCurrentSpan (line 41) | func TestCurrentSpan(t *testing.T) { function TestContextWithoutHeadersKeyHeaders (line 59) | func TestContextWithoutHeadersKeyHeaders(t *testing.T) { function TestContextWithoutHeadersKeyTChannel (line 68) | func TestContextWithoutHeadersKeyTChannel(t *testing.T) { FILE: context_test.go function TestWrapContextForTest (line 39) | func TestWrapContextForTest(t *testing.T) { function TestNewContextTimeoutZero (line 47) | func TestNewContextTimeoutZero(t *testing.T) { function TestRoutingDelegatePropagates (line 56) | func TestRoutingDelegatePropagates(t *testing.T) { function TestRoutingKeyPropagates (line 79) | func TestRoutingKeyPropagates(t *testing.T) { function TestShardKeyPropagates (line 102) | func TestShardKeyPropagates(t *testing.T) { function TestCurrentCallWithNilResult (line 126) | func TestCurrentCallWithNilResult(t *testing.T) { function getParentContext (line 133) | func getParentContext(t *testing.T) ContextWithHeaders { function TestContextBuilderParentContextNoHeaders (line 145) | func TestContextBuilderParentContextNoHeaders(t *testing.T) { function TestContextBuilderParentContextMergeHeaders (line 151) | func TestContextBuilderParentContextMergeHeaders(t *testing.T) { function TestContextBuilderParentContextReplaceHeaders (line 180) | func TestContextBuilderParentContextReplaceHeaders(t *testing.T) { function TestContextWrapWithHeaders (line 198) | func TestContextWrapWithHeaders(t *testing.T) { function TestContextWithHeadersAsContext (line 214) | func TestContextWithHeadersAsContext(t *testing.T) { function TestContextBuilderParentContextSpan (line 219) | func TestContextBuilderParentContextSpan(t *testing.T) { function TestContextWrapChild (line 231) | func TestContextWrapChild(t *testing.T) { function TestContextInheritParentTimeout (line 291) | func TestContextInheritParentTimeout(t *testing.T) { FILE: deps_test.go function TestJaegerDeps (line 36) | func TestJaegerDeps(t *testing.T) { FILE: dial_16.go function dialContext (line 32) | func dialContext(ctx context.Context, hostPort string) (net.Conn, error) { FILE: dial_17.go function dialContext (line 31) | func dialContext(ctx context.Context, hostPort string) (net.Conn, error) { FILE: dial_17_test.go function TestNetDialCancelContext (line 37) | func TestNetDialCancelContext(t *testing.T) { FILE: errors.go constant invalidMessageID (line 31) | invalidMessageID uint32 = 0xFFFFFFFF type SystemErrCode (line 35) | type SystemErrCode method MetricsKey (line 102) | func (c SystemErrCode) MetricsKey() string { method relayMetricsKey (line 128) | func (c SystemErrCode) relayMetricsKey() string { constant ErrCodeInvalid (line 41) | ErrCodeInvalid SystemErrCode = 0x00 constant ErrCodeTimeout (line 45) | ErrCodeTimeout SystemErrCode = 0x01 constant ErrCodeCancelled (line 49) | ErrCodeCancelled SystemErrCode = 0x02 constant ErrCodeBusy (line 54) | ErrCodeBusy SystemErrCode = 0x03 constant ErrCodeDeclined (line 60) | ErrCodeDeclined SystemErrCode = 0x04 constant ErrCodeUnexpected (line 65) | ErrCodeUnexpected SystemErrCode = 0x05 constant ErrCodeBadRequest (line 69) | ErrCodeBadRequest SystemErrCode = 0x06 constant ErrCodeNetwork (line 73) | ErrCodeNetwork SystemErrCode = 0x07 constant ErrCodeProtocol (line 77) | ErrCodeProtocol SystemErrCode = 0xFF type SystemError (line 156) | type SystemError struct method Error (line 177) | func (se SystemError) Error() string { method Wrapped (line 182) | func (se SystemError) Wrapped() error { return se.wrapped } method Code (line 185) | func (se SystemError) Code() SystemErrCode { method Message (line 190) | func (se SystemError) Message() string { function NewSystemError (line 163) | func NewSystemError(code SystemErrCode, msg string, args ...interface{})... function NewWrappedSystemError (line 168) | func NewWrappedSystemError(code SystemErrCode, wrapped error) error { function GetContextError (line 195) | func GetContextError(err error) error { function GetSystemErrorCode (line 207) | func GetSystemErrorCode(err error) SystemErrCode { function GetSystemErrorMessage (line 221) | func GetSystemErrorMessage(err error) string { type errConnNotActive (line 229) | type errConnNotActive struct method Error (line 234) | func (e errConnNotActive) Error() string { FILE: errors_test.go function TestErrorMetricKeys (line 31) | func TestErrorMetricKeys(t *testing.T) { function TestInvalidError (line 55) | func TestInvalidError(t *testing.T) { function TestUnexpectedError (line 60) | func TestUnexpectedError(t *testing.T) { function TestSystemError (line 65) | func TestSystemError(t *testing.T) { function TestRelayMetricsKey (line 70) | func TestRelayMetricsKey(t *testing.T) { FILE: examples/bench/client/client.go function main (line 49) | func main() { function requestCountReporter (line 71) | func requestCountReporter() { function worker (line 79) | func worker(ch *tchannel.Channel) { function setRequest (line 98) | func setRequest(ch *tchannel.Channel, key, value string) error { function getRequest (line 104) | func getRequest(ch *tchannel.Channel, key string) (string, error) { FILE: examples/bench/runner.go function main (line 46) | func main() { function runServer (line 100) | func runServer(hostPort string, numThreads int) (*exec.Cmd, error) { function runClient (line 112) | func runClient(clientArgs []string) (*exec.Cmd, error) { function dumpProfile (line 116) | func dumpProfile(baseHostPort, profileFile string) (*exec.Cmd, error) { function runCmd (line 122) | func runCmd(cmdBinary string, args ...string) (*exec.Cmd, error) { FILE: examples/bench/server/server.go function main (line 46) | func main() { function setupServer (line 67) | func setupServer(host string, basePort, instanceNum int) error { type kvHandler (line 88) | type kvHandler struct method WithLock (line 93) | func (h *kvHandler) WithLock(write bool, f func()) { method Ping (line 109) | func (h *kvHandler) Ping(ctx context.Context, args *raw.Args) (*raw.Re... method Get (line 115) | func (h *kvHandler) Get(ctx context.Context, args *raw.Args) (*raw.Res... method Set (line 127) | func (h *kvHandler) Set(ctx context.Context, args *raw.Args) (*raw.Res... method Handle (line 137) | func (h *kvHandler) Handle(ctx context.Context, args *raw.Args) (*raw.... method OnError (line 150) | func (h *kvHandler) OnError(ctx context.Context, err error) { FILE: examples/hyperbahn/echo-server/main.go function main (line 37) | func main() { type eventHandler (line 80) | type eventHandler struct method On (line 82) | func (eventHandler) On(event hyperbahn.Event) { method OnError (line 86) | func (eventHandler) OnError(err error) { type handler (line 90) | type handler struct method OnError (line 94) | func (h handler) OnError(ctx context.Context, err error) { method Handle (line 98) | func (h handler) Handle(ctx context.Context, args *raw.Args) (*raw.Res... FILE: examples/hypercat/main.go function parseArgs (line 54) | func parseArgs() { function main (line 79) | func main() { function onError (line 100) | func onError(msg string, args ...interface{}) { function handler (line 104) | func handler(ctx context.Context, call *tchannel.InboundCall) { function spawnProcess (line 140) | func spawnProcess(reader io.Reader, writer io.Writer) error { FILE: examples/keyvalue/client/client.go function printHelp (line 39) | func printHelp() { function main (line 44) | func main() { function get (line 102) | func get(client keyvalue.TChanKeyValue, key string) { function set (line 122) | func set(client keyvalue.TChanKeyValue, key, value string) { function clear (line 139) | func clear(adminClient keyvalue.TChanAdmin) { function createContext (line 156) | func createContext() (thrift.Context, func()) { FILE: examples/keyvalue/gen-go/keyvalue/admin.go type Admin (line 17) | type Admin interface type AdminClient (line 23) | type AdminClient struct method ClearAll (line 35) | func (p *AdminClient) ClearAll() (err error) { method sendClearAll (line 42) | func (p *AdminClient) sendClearAll() (err error) { method recvClearAll (line 62) | func (p *AdminClient) recvClearAll() (err error) { function NewAdminClientFactory (line 27) | func NewAdminClientFactory(t thrift.TTransport, f thrift.TProtocolFactor... function NewAdminClientProtocol (line 31) | func NewAdminClientProtocol(t thrift.TTransport, iprot thrift.TProtocol,... type AdminProcessor (line 111) | type AdminProcessor struct function NewAdminProcessor (line 115) | func NewAdminProcessor(handler Admin) *AdminProcessor { type adminProcessorClearAll (line 121) | type adminProcessorClearAll struct method Process (line 125) | func (p *adminProcessorClearAll) Process(seqId int32, iprot, oprot thr... type AdminClearAllArgs (line 173) | type AdminClearAllArgs struct method Read (line 180) | func (p *AdminClearAllArgs) Read(iprot thrift.TProtocol) error { method Write (line 206) | func (p *AdminClearAllArgs) Write(oprot thrift.TProtocol) error { method String (line 219) | func (p *AdminClearAllArgs) String() string { function NewAdminClearAllArgs (line 176) | func NewAdminClearAllArgs() *AdminClearAllArgs { type AdminClearAllResult (line 228) | type AdminClearAllResult struct method GetNotAuthorized (line 238) | func (p *AdminClearAllResult) GetNotAuthorized() *NotAuthorized { method IsSetNotAuthorized (line 244) | func (p *AdminClearAllResult) IsSetNotAuthorized() bool { method Read (line 248) | func (p *AdminClearAllResult) Read(iprot thrift.TProtocol) error { method ReadField1 (line 281) | func (p *AdminClearAllResult) ReadField1(iprot thrift.TProtocol) error { method Write (line 289) | func (p *AdminClearAllResult) Write(oprot thrift.TProtocol) error { method writeField1 (line 305) | func (p *AdminClearAllResult) writeField1(oprot thrift.TProtocol) (err... method String (line 320) | func (p *AdminClearAllResult) String() string { function NewAdminClearAllResult (line 232) | func NewAdminClearAllResult() *AdminClearAllResult { FILE: examples/keyvalue/gen-go/keyvalue/baseservice.go type BaseService (line 17) | type BaseService interface type BaseServiceClient (line 21) | type BaseServiceClient struct method HealthCheck (line 47) | func (p *BaseServiceClient) HealthCheck() (r string, err error) { method sendHealthCheck (line 54) | func (p *BaseServiceClient) sendHealthCheck() (err error) { method recvHealthCheck (line 74) | func (p *BaseServiceClient) recvHealthCheck() (value string, err error) { function NewBaseServiceClientFactory (line 29) | func NewBaseServiceClientFactory(t thrift.TTransport, f thrift.TProtocol... function NewBaseServiceClientProtocol (line 38) | func NewBaseServiceClientProtocol(t thrift.TTransport, iprot thrift.TPro... type BaseServiceProcessor (line 120) | type BaseServiceProcessor struct method AddToProcessorMap (line 125) | func (p *BaseServiceProcessor) AddToProcessorMap(key string, processor... method GetProcessorFunction (line 129) | func (p *BaseServiceProcessor) GetProcessorFunction(key string) (proce... method ProcessorMap (line 134) | func (p *BaseServiceProcessor) ProcessorMap() map[string]thrift.TProce... method Process (line 145) | func (p *BaseServiceProcessor) Process(iprot, oprot thrift.TProtocol) ... function NewBaseServiceProcessor (line 138) | func NewBaseServiceProcessor(handler BaseService) *BaseServiceProcessor { type baseServiceProcessorHealthCheck (line 164) | type baseServiceProcessorHealthCheck struct method Process (line 168) | func (p *baseServiceProcessorHealthCheck) Process(seqId int32, iprot, ... type BaseServiceHealthCheckArgs (line 214) | type BaseServiceHealthCheckArgs struct method Read (line 221) | func (p *BaseServiceHealthCheckArgs) Read(iprot thrift.TProtocol) error { method Write (line 247) | func (p *BaseServiceHealthCheckArgs) Write(oprot thrift.TProtocol) err... method String (line 260) | func (p *BaseServiceHealthCheckArgs) String() string { function NewBaseServiceHealthCheckArgs (line 217) | func NewBaseServiceHealthCheckArgs() *BaseServiceHealthCheckArgs { type BaseServiceHealthCheckResult (line 269) | type BaseServiceHealthCheckResult struct method GetSuccess (line 279) | func (p *BaseServiceHealthCheckResult) GetSuccess() string { method IsSetSuccess (line 285) | func (p *BaseServiceHealthCheckResult) IsSetSuccess() bool { method Read (line 289) | func (p *BaseServiceHealthCheckResult) Read(iprot thrift.TProtocol) er... method ReadField0 (line 322) | func (p *BaseServiceHealthCheckResult) ReadField0(iprot thrift.TProtoc... method Write (line 331) | func (p *BaseServiceHealthCheckResult) Write(oprot thrift.TProtocol) e... method writeField0 (line 347) | func (p *BaseServiceHealthCheckResult) writeField0(oprot thrift.TProto... method String (line 362) | func (p *BaseServiceHealthCheckResult) String() string { function NewBaseServiceHealthCheckResult (line 273) | func NewBaseServiceHealthCheckResult() *BaseServiceHealthCheckResult { FILE: examples/keyvalue/gen-go/keyvalue/constants.go function init (line 17) | func init() { FILE: examples/keyvalue/gen-go/keyvalue/keyvalue.go type KeyValue (line 17) | type KeyValue interface type KeyValueClient (line 29) | type KeyValueClient struct method Get (line 43) | func (p *KeyValueClient) Get(key string) (r string, err error) { method sendGet (line 50) | func (p *KeyValueClient) sendGet(key string) (err error) { method recvGet (line 72) | func (p *KeyValueClient) recvGet() (value string, err error) { method Set (line 128) | func (p *KeyValueClient) Set(key string, value string) (err error) { method sendSet (line 135) | func (p *KeyValueClient) sendSet(key string, value string) (err error) { method recvSet (line 158) | func (p *KeyValueClient) recvSet() (err error) { function NewKeyValueClientFactory (line 33) | func NewKeyValueClientFactory(t thrift.TTransport, f thrift.TProtocolFac... function NewKeyValueClientProtocol (line 37) | func NewKeyValueClientProtocol(t thrift.TTransport, iprot thrift.TProtoc... type KeyValueProcessor (line 207) | type KeyValueProcessor struct function NewKeyValueProcessor (line 211) | func NewKeyValueProcessor(handler KeyValue) *KeyValueProcessor { type keyValueProcessorGet (line 218) | type keyValueProcessorGet struct method Process (line 222) | func (p *keyValueProcessorGet) Process(seqId int32, iprot, oprot thrif... type keyValueProcessorSet (line 273) | type keyValueProcessorSet struct method Process (line 277) | func (p *keyValueProcessorSet) Process(seqId int32, iprot, oprot thrif... type KeyValueGetArgs (line 327) | type KeyValueGetArgs struct method GetKey (line 335) | func (p *KeyValueGetArgs) GetKey() string { method Read (line 338) | func (p *KeyValueGetArgs) Read(iprot thrift.TProtocol) error { method ReadField1 (line 371) | func (p *KeyValueGetArgs) ReadField1(iprot thrift.TProtocol) error { method Write (line 380) | func (p *KeyValueGetArgs) Write(oprot thrift.TProtocol) error { method writeField1 (line 396) | func (p *KeyValueGetArgs) writeField1(oprot thrift.TProtocol) (err err... method String (line 409) | func (p *KeyValueGetArgs) String() string { function NewKeyValueGetArgs (line 331) | func NewKeyValueGetArgs() *KeyValueGetArgs { type KeyValueGetResult (line 420) | type KeyValueGetResult struct method GetSuccess (line 432) | func (p *KeyValueGetResult) GetSuccess() string { method GetNotFound (line 441) | func (p *KeyValueGetResult) GetNotFound() *KeyNotFound { method GetInvalidKey (line 450) | func (p *KeyValueGetResult) GetInvalidKey() *InvalidKey { method IsSetSuccess (line 456) | func (p *KeyValueGetResult) IsSetSuccess() bool { method IsSetNotFound (line 460) | func (p *KeyValueGetResult) IsSetNotFound() bool { method IsSetInvalidKey (line 464) | func (p *KeyValueGetResult) IsSetInvalidKey() bool { method Read (line 468) | func (p *KeyValueGetResult) Read(iprot thrift.TProtocol) error { method ReadField0 (line 509) | func (p *KeyValueGetResult) ReadField0(iprot thrift.TProtocol) error { method ReadField1 (line 518) | func (p *KeyValueGetResult) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 526) | func (p *KeyValueGetResult) ReadField2(iprot thrift.TProtocol) error { method Write (line 534) | func (p *KeyValueGetResult) Write(oprot thrift.TProtocol) error { method writeField0 (line 556) | func (p *KeyValueGetResult) writeField0(oprot thrift.TProtocol) (err e... method writeField1 (line 571) | func (p *KeyValueGetResult) writeField1(oprot thrift.TProtocol) (err e... method writeField2 (line 586) | func (p *KeyValueGetResult) writeField2(oprot thrift.TProtocol) (err e... method String (line 601) | func (p *KeyValueGetResult) String() string { function NewKeyValueGetResult (line 426) | func NewKeyValueGetResult() *KeyValueGetResult { type KeyValueSetArgs (line 611) | type KeyValueSetArgs struct method GetKey (line 620) | func (p *KeyValueSetArgs) GetKey() string { method GetValue (line 624) | func (p *KeyValueSetArgs) GetValue() string { method Read (line 627) | func (p *KeyValueSetArgs) Read(iprot thrift.TProtocol) error { method ReadField1 (line 664) | func (p *KeyValueSetArgs) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 673) | func (p *KeyValueSetArgs) ReadField2(iprot thrift.TProtocol) error { method Write (line 682) | func (p *KeyValueSetArgs) Write(oprot thrift.TProtocol) error { method writeField1 (line 701) | func (p *KeyValueSetArgs) writeField1(oprot thrift.TProtocol) (err err... method writeField2 (line 714) | func (p *KeyValueSetArgs) writeField2(oprot thrift.TProtocol) (err err... method String (line 727) | func (p *KeyValueSetArgs) String() string { function NewKeyValueSetArgs (line 616) | func NewKeyValueSetArgs() *KeyValueSetArgs { type KeyValueSetResult (line 736) | type KeyValueSetResult struct method GetInvalidKey (line 746) | func (p *KeyValueSetResult) GetInvalidKey() *InvalidKey { method IsSetInvalidKey (line 752) | func (p *KeyValueSetResult) IsSetInvalidKey() bool { method Read (line 756) | func (p *KeyValueSetResult) Read(iprot thrift.TProtocol) error { method ReadField1 (line 789) | func (p *KeyValueSetResult) ReadField1(iprot thrift.TProtocol) error { method Write (line 797) | func (p *KeyValueSetResult) Write(oprot thrift.TProtocol) error { method writeField1 (line 813) | func (p *KeyValueSetResult) writeField1(oprot thrift.TProtocol) (err e... method String (line 828) | func (p *KeyValueSetResult) String() string { function NewKeyValueSetResult (line 740) | func NewKeyValueSetResult() *KeyValueSetResult { FILE: examples/keyvalue/gen-go/keyvalue/tchan-keyvalue.go type TChanAdmin (line 16) | type TChanAdmin interface type TChanKeyValue (line 23) | type TChanKeyValue interface type TChanBaseService (line 31) | type TChanBaseService interface type tchanAdminClient (line 37) | type tchanAdminClient struct method ClearAll (line 57) | func (c *tchanAdminClient) ClearAll(ctx thrift.Context) error { function NewTChanAdminInheritedClient (line 44) | func NewTChanAdminInheritedClient(thriftService string, client thrift.TC... function NewTChanAdminClient (line 53) | func NewTChanAdminClient(client thrift.TChanClient) TChanAdmin { type tchanAdminServer (line 73) | type tchanAdminServer struct method Service (line 88) | func (s *tchanAdminServer) Service() string { method Methods (line 92) | func (s *tchanAdminServer) Methods() []string { method Handle (line 100) | func (s *tchanAdminServer) Handle(ctx thrift.Context, methodName strin... method handleClearAll (line 112) | func (s *tchanAdminServer) handleClearAll(ctx thrift.Context, protocol... function NewTChanAdminServer (line 81) | func NewTChanAdminServer(handler TChanAdmin) thrift.TChanServer { type tchanKeyValueClient (line 139) | type tchanKeyValueClient struct method Get (line 159) | func (c *tchanKeyValueClient) Get(ctx thrift.Context, key string) (str... method Set (line 179) | func (c *tchanKeyValueClient) Set(ctx thrift.Context, key string, valu... function NewTChanKeyValueInheritedClient (line 146) | func NewTChanKeyValueInheritedClient(thriftService string, client thrift... function NewTChanKeyValueClient (line 155) | func NewTChanKeyValueClient(client thrift.TChanClient) TChanKeyValue { type tchanKeyValueServer (line 198) | type tchanKeyValueServer struct method Service (line 213) | func (s *tchanKeyValueServer) Service() string { method Methods (line 217) | func (s *tchanKeyValueServer) Methods() []string { method Handle (line 226) | func (s *tchanKeyValueServer) Handle(ctx thrift.Context, methodName st... method handleGet (line 240) | func (s *tchanKeyValueServer) handleGet(ctx thrift.Context, protocol a... method handleSet (line 273) | func (s *tchanKeyValueServer) handleSet(ctx thrift.Context, protocol a... function NewTChanKeyValueServer (line 206) | func NewTChanKeyValueServer(handler TChanKeyValue) thrift.TChanServer { type tchanBaseServiceClient (line 300) | type tchanBaseServiceClient struct method HealthCheck (line 317) | func (c *tchanBaseServiceClient) HealthCheck(ctx thrift.Context) (stri... function NewTChanBaseServiceInheritedClient (line 305) | func NewTChanBaseServiceInheritedClient(thriftService string, client thr... function NewTChanBaseServiceClient (line 313) | func NewTChanBaseServiceClient(client thrift.TChanClient) TChanBaseServi... type tchanBaseServiceServer (line 331) | type tchanBaseServiceServer struct method Service (line 343) | func (s *tchanBaseServiceServer) Service() string { method Methods (line 347) | func (s *tchanBaseServiceServer) Methods() []string { method Handle (line 353) | func (s *tchanBaseServiceServer) Handle(ctx thrift.Context, methodName... method handleHealthCheck (line 363) | func (s *tchanBaseServiceServer) handleHealthCheck(ctx thrift.Context,... function NewTChanBaseServiceServer (line 337) | func NewTChanBaseServiceServer(handler TChanBaseService) thrift.TChanSer... FILE: examples/keyvalue/gen-go/keyvalue/ttypes.go type KeyNotFound (line 21) | type KeyNotFound struct method GetKey (line 29) | func (p *KeyNotFound) GetKey() string { method Read (line 32) | func (p *KeyNotFound) Read(iprot thrift.TProtocol) error { method ReadField1 (line 65) | func (p *KeyNotFound) ReadField1(iprot thrift.TProtocol) error { method Write (line 74) | func (p *KeyNotFound) Write(oprot thrift.TProtocol) error { method writeField1 (line 90) | func (p *KeyNotFound) writeField1(oprot thrift.TProtocol) (err error) { method String (line 103) | func (p *KeyNotFound) String() string { method Error (line 110) | func (p *KeyNotFound) Error() string { function NewKeyNotFound (line 25) | func NewKeyNotFound() *KeyNotFound { type InvalidKey (line 114) | type InvalidKey struct method Read (line 121) | func (p *InvalidKey) Read(iprot thrift.TProtocol) error { method Write (line 147) | func (p *InvalidKey) Write(oprot thrift.TProtocol) error { method String (line 160) | func (p *InvalidKey) String() string { method Error (line 167) | func (p *InvalidKey) Error() string { function NewInvalidKey (line 117) | func NewInvalidKey() *InvalidKey { type NotAuthorized (line 171) | type NotAuthorized struct method Read (line 178) | func (p *NotAuthorized) Read(iprot thrift.TProtocol) error { method Write (line 204) | func (p *NotAuthorized) Write(oprot thrift.TProtocol) error { method String (line 217) | func (p *NotAuthorized) String() string { method Error (line 224) | func (p *NotAuthorized) Error() string { function NewNotAuthorized (line 174) | func NewNotAuthorized() *NotAuthorized { FILE: examples/keyvalue/server/server.go function main (line 38) | func main() { type kvHandler (line 80) | type kvHandler struct method Get (line 91) | func (h *kvHandler) Get(ctx thrift.Context, key string) (string, error) { method Set (line 107) | func (h *kvHandler) Set(ctx thrift.Context, key, value string) error { method HealthCheck (line 122) | func (h *kvHandler) HealthCheck(ctx thrift.Context) (string, error) { method ClearAll (line 127) | func (h *kvHandler) ClearAll(ctx thrift.Context) error { function newKVHandler (line 86) | func newKVHandler() *kvHandler { function isValidKey (line 139) | func isValidKey(key string) error { function isAdmin (line 147) | func isAdmin(ctx thrift.Context) bool { FILE: examples/ping/main.go type Ping (line 36) | type Ping struct type Pong (line 41) | type Pong function pingHandler (line 43) | func pingHandler(ctx json.Context, ping *Ping) (*Pong, error) { function pingOtherHandler (line 49) | func pingOtherHandler(ctx json.Context, ping *Ping) (*Pong, error) { function onError (line 55) | func onError(ctx context.Context, err error) { function listenAndHandle (line 59) | func listenAndHandle(s *tchannel.Channel, hostPort string) { function main (line 71) | func main() { FILE: examples/test_server/server.go type rawHandler (line 39) | type rawHandler struct method Handle (line 41) | func (rawHandler) Handle(ctx context.Context, args *raw.Args) (*raw.Re... method OnError (line 48) | func (rawHandler) OnError(ctx context.Context, err error) { function main (line 52) | func main() { FILE: examples/thrift/gen-go/example/base.go type Base (line 17) | type Base interface type BaseClient (line 21) | type BaseClient struct method BaseCall (line 47) | func (p *BaseClient) BaseCall() (err error) { method sendBaseCall (line 54) | func (p *BaseClient) sendBaseCall() (err error) { method recvBaseCall (line 74) | func (p *BaseClient) recvBaseCall() (err error) { function NewBaseClientFactory (line 29) | func NewBaseClientFactory(t thrift.TTransport, f thrift.TProtocolFactory... function NewBaseClientProtocol (line 38) | func NewBaseClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, ... type BaseProcessor (line 119) | type BaseProcessor struct method AddToProcessorMap (line 124) | func (p *BaseProcessor) AddToProcessorMap(key string, processor thrift... method GetProcessorFunction (line 128) | func (p *BaseProcessor) GetProcessorFunction(key string) (processor th... method ProcessorMap (line 133) | func (p *BaseProcessor) ProcessorMap() map[string]thrift.TProcessorFun... method Process (line 144) | func (p *BaseProcessor) Process(iprot, oprot thrift.TProtocol) (succes... function NewBaseProcessor (line 137) | func NewBaseProcessor(handler Base) *BaseProcessor { type baseProcessorBaseCall (line 163) | type baseProcessorBaseCall struct method Process (line 167) | func (p *baseProcessorBaseCall) Process(seqId int32, iprot, oprot thri... type BaseBaseCallArgs (line 210) | type BaseBaseCallArgs struct method Read (line 217) | func (p *BaseBaseCallArgs) Read(iprot thrift.TProtocol) error { method Write (line 243) | func (p *BaseBaseCallArgs) Write(oprot thrift.TProtocol) error { method String (line 256) | func (p *BaseBaseCallArgs) String() string { function NewBaseBaseCallArgs (line 213) | func NewBaseBaseCallArgs() *BaseBaseCallArgs { type BaseBaseCallResult (line 263) | type BaseBaseCallResult struct method Read (line 270) | func (p *BaseBaseCallResult) Read(iprot thrift.TProtocol) error { method Write (line 296) | func (p *BaseBaseCallResult) Write(oprot thrift.TProtocol) error { method String (line 309) | func (p *BaseBaseCallResult) String() string { function NewBaseBaseCallResult (line 266) | func NewBaseBaseCallResult() *BaseBaseCallResult { FILE: examples/thrift/gen-go/example/constants.go function init (line 17) | func init() { FILE: examples/thrift/gen-go/example/first.go type First (line 17) | type First interface type FirstClient (line 27) | type FirstClient struct method Echo (line 41) | func (p *FirstClient) Echo(msg string) (r string, err error) { method sendEcho (line 48) | func (p *FirstClient) sendEcho(msg string) (err error) { method recvEcho (line 70) | func (p *FirstClient) recvEcho() (value string, err error) { method Healthcheck (line 116) | func (p *FirstClient) Healthcheck() (r *HealthCheckRes, err error) { method sendHealthcheck (line 123) | func (p *FirstClient) sendHealthcheck() (err error) { method recvHealthcheck (line 143) | func (p *FirstClient) recvHealthcheck() (value *HealthCheckRes, err er... method AppError (line 189) | func (p *FirstClient) AppError() (err error) { method sendAppError (line 196) | func (p *FirstClient) sendAppError() (err error) { method recvAppError (line 216) | func (p *FirstClient) recvAppError() (err error) { function NewFirstClientFactory (line 31) | func NewFirstClientFactory(t thrift.TTransport, f thrift.TProtocolFactor... function NewFirstClientProtocol (line 35) | func NewFirstClientProtocol(t thrift.TTransport, iprot thrift.TProtocol,... type FirstProcessor (line 261) | type FirstProcessor struct function NewFirstProcessor (line 265) | func NewFirstProcessor(handler First) *FirstProcessor { type firstProcessorEcho (line 273) | type firstProcessorEcho struct method Process (line 277) | func (p *firstProcessorEcho) Process(seqId int32, iprot, oprot thrift.... type firstProcessorHealthcheck (line 321) | type firstProcessorHealthcheck struct method Process (line 325) | func (p *firstProcessorHealthcheck) Process(seqId int32, iprot, oprot ... type firstProcessorAppError (line 369) | type firstProcessorAppError struct method Process (line 373) | func (p *firstProcessorAppError) Process(seqId int32, iprot, oprot thr... type FirstEchoArgs (line 418) | type FirstEchoArgs struct method GetMsg (line 426) | func (p *FirstEchoArgs) GetMsg() string { method Read (line 429) | func (p *FirstEchoArgs) Read(iprot thrift.TProtocol) error { method ReadField1 (line 462) | func (p *FirstEchoArgs) ReadField1(iprot thrift.TProtocol) error { method Write (line 471) | func (p *FirstEchoArgs) Write(oprot thrift.TProtocol) error { method writeField1 (line 487) | func (p *FirstEchoArgs) writeField1(oprot thrift.TProtocol) (err error) { method String (line 500) | func (p *FirstEchoArgs) String() string { function NewFirstEchoArgs (line 422) | func NewFirstEchoArgs() *FirstEchoArgs { type FirstEchoResult (line 509) | type FirstEchoResult struct method GetSuccess (line 519) | func (p *FirstEchoResult) GetSuccess() string { method IsSetSuccess (line 525) | func (p *FirstEchoResult) IsSetSuccess() bool { method Read (line 529) | func (p *FirstEchoResult) Read(iprot thrift.TProtocol) error { method ReadField0 (line 562) | func (p *FirstEchoResult) ReadField0(iprot thrift.TProtocol) error { method Write (line 571) | func (p *FirstEchoResult) Write(oprot thrift.TProtocol) error { method writeField0 (line 587) | func (p *FirstEchoResult) writeField0(oprot thrift.TProtocol) (err err... method String (line 602) | func (p *FirstEchoResult) String() string { function NewFirstEchoResult (line 513) | func NewFirstEchoResult() *FirstEchoResult { type FirstHealthcheckArgs (line 609) | type FirstHealthcheckArgs struct method Read (line 616) | func (p *FirstHealthcheckArgs) Read(iprot thrift.TProtocol) error { method Write (line 642) | func (p *FirstHealthcheckArgs) Write(oprot thrift.TProtocol) error { method String (line 655) | func (p *FirstHealthcheckArgs) String() string { function NewFirstHealthcheckArgs (line 612) | func NewFirstHealthcheckArgs() *FirstHealthcheckArgs { type FirstHealthcheckResult (line 664) | type FirstHealthcheckResult struct method GetSuccess (line 674) | func (p *FirstHealthcheckResult) GetSuccess() *HealthCheckRes { method IsSetSuccess (line 680) | func (p *FirstHealthcheckResult) IsSetSuccess() bool { method Read (line 684) | func (p *FirstHealthcheckResult) Read(iprot thrift.TProtocol) error { method ReadField0 (line 717) | func (p *FirstHealthcheckResult) ReadField0(iprot thrift.TProtocol) er... method Write (line 725) | func (p *FirstHealthcheckResult) Write(oprot thrift.TProtocol) error { method writeField0 (line 741) | func (p *FirstHealthcheckResult) writeField0(oprot thrift.TProtocol) (... method String (line 756) | func (p *FirstHealthcheckResult) String() string { function NewFirstHealthcheckResult (line 668) | func NewFirstHealthcheckResult() *FirstHealthcheckResult { type FirstAppErrorArgs (line 763) | type FirstAppErrorArgs struct method Read (line 770) | func (p *FirstAppErrorArgs) Read(iprot thrift.TProtocol) error { method Write (line 796) | func (p *FirstAppErrorArgs) Write(oprot thrift.TProtocol) error { method String (line 809) | func (p *FirstAppErrorArgs) String() string { function NewFirstAppErrorArgs (line 766) | func NewFirstAppErrorArgs() *FirstAppErrorArgs { type FirstAppErrorResult (line 816) | type FirstAppErrorResult struct method Read (line 823) | func (p *FirstAppErrorResult) Read(iprot thrift.TProtocol) error { method Write (line 849) | func (p *FirstAppErrorResult) Write(oprot thrift.TProtocol) error { method String (line 862) | func (p *FirstAppErrorResult) String() string { function NewFirstAppErrorResult (line 819) | func NewFirstAppErrorResult() *FirstAppErrorResult { FILE: examples/thrift/gen-go/example/second.go type Second (line 17) | type Second interface type SecondClient (line 21) | type SecondClient struct method Test (line 47) | func (p *SecondClient) Test() (err error) { method sendTest (line 54) | func (p *SecondClient) sendTest() (err error) { method recvTest (line 74) | func (p *SecondClient) recvTest() (err error) { function NewSecondClientFactory (line 29) | func NewSecondClientFactory(t thrift.TTransport, f thrift.TProtocolFacto... function NewSecondClientProtocol (line 38) | func NewSecondClientProtocol(t thrift.TTransport, iprot thrift.TProtocol... type SecondProcessor (line 119) | type SecondProcessor struct method AddToProcessorMap (line 124) | func (p *SecondProcessor) AddToProcessorMap(key string, processor thri... method GetProcessorFunction (line 128) | func (p *SecondProcessor) GetProcessorFunction(key string) (processor ... method ProcessorMap (line 133) | func (p *SecondProcessor) ProcessorMap() map[string]thrift.TProcessorF... method Process (line 144) | func (p *SecondProcessor) Process(iprot, oprot thrift.TProtocol) (succ... function NewSecondProcessor (line 137) | func NewSecondProcessor(handler Second) *SecondProcessor { type secondProcessorTest (line 163) | type secondProcessorTest struct method Process (line 167) | func (p *secondProcessorTest) Process(seqId int32, iprot, oprot thrift... type SecondTestArgs (line 210) | type SecondTestArgs struct method Read (line 217) | func (p *SecondTestArgs) Read(iprot thrift.TProtocol) error { method Write (line 243) | func (p *SecondTestArgs) Write(oprot thrift.TProtocol) error { method String (line 256) | func (p *SecondTestArgs) String() string { function NewSecondTestArgs (line 213) | func NewSecondTestArgs() *SecondTestArgs { type SecondTestResult (line 263) | type SecondTestResult struct method Read (line 270) | func (p *SecondTestResult) Read(iprot thrift.TProtocol) error { method Write (line 296) | func (p *SecondTestResult) Write(oprot thrift.TProtocol) error { method String (line 309) | func (p *SecondTestResult) String() string { function NewSecondTestResult (line 266) | func NewSecondTestResult() *SecondTestResult { FILE: examples/thrift/gen-go/example/tchan-example.go type TChanBase (line 16) | type TChanBase interface type TChanFirst (line 21) | type TChanFirst interface type TChanSecond (line 30) | type TChanSecond interface type tchanBaseClient (line 36) | type tchanBaseClient struct method BaseCall (line 53) | func (c *tchanBaseClient) BaseCall(ctx thrift.Context) error { function NewTChanBaseInheritedClient (line 41) | func NewTChanBaseInheritedClient(thriftService string, client thrift.TCh... function NewTChanBaseClient (line 49) | func NewTChanBaseClient(client thrift.TChanClient) TChanBase { type tchanBaseServer (line 67) | type tchanBaseServer struct method Service (line 79) | func (s *tchanBaseServer) Service() string { method Methods (line 83) | func (s *tchanBaseServer) Methods() []string { method Handle (line 89) | func (s *tchanBaseServer) Handle(ctx thrift.Context, methodName string... method handleBaseCall (line 99) | func (s *tchanBaseServer) handleBaseCall(ctx thrift.Context, protocol ... function NewTChanBaseServer (line 73) | func NewTChanBaseServer(handler TChanBase) thrift.TChanServer { type tchanFirstClient (line 118) | type tchanFirstClient struct method AppError (line 138) | func (c *tchanFirstClient) AppError(ctx thrift.Context) error { method Echo (line 152) | func (c *tchanFirstClient) Echo(ctx thrift.Context, msg string) (strin... method Healthcheck (line 168) | func (c *tchanFirstClient) Healthcheck(ctx thrift.Context) (*HealthChe... function NewTChanFirstInheritedClient (line 125) | func NewTChanFirstInheritedClient(thriftService string, client thrift.TC... function NewTChanFirstClient (line 134) | func NewTChanFirstClient(client thrift.TChanClient) TChanFirst { type tchanFirstServer (line 182) | type tchanFirstServer struct method Service (line 197) | func (s *tchanFirstServer) Service() string { method Methods (line 201) | func (s *tchanFirstServer) Methods() []string { method Handle (line 211) | func (s *tchanFirstServer) Handle(ctx thrift.Context, methodName strin... method handleAppError (line 227) | func (s *tchanFirstServer) handleAppError(ctx thrift.Context, protocol... method handleEcho (line 246) | func (s *tchanFirstServer) handleEcho(ctx thrift.Context, protocol ath... method handleHealthcheck (line 266) | func (s *tchanFirstServer) handleHealthcheck(ctx thrift.Context, proto... function NewTChanFirstServer (line 190) | func NewTChanFirstServer(handler TChanFirst) thrift.TChanServer { type tchanSecondClient (line 286) | type tchanSecondClient struct method Test (line 303) | func (c *tchanSecondClient) Test(ctx thrift.Context) error { function NewTChanSecondInheritedClient (line 291) | func NewTChanSecondInheritedClient(thriftService string, client thrift.T... function NewTChanSecondClient (line 299) | func NewTChanSecondClient(client thrift.TChanClient) TChanSecond { type tchanSecondServer (line 317) | type tchanSecondServer struct method Service (line 329) | func (s *tchanSecondServer) Service() string { method Methods (line 333) | func (s *tchanSecondServer) Methods() []string { method Handle (line 339) | func (s *tchanSecondServer) Handle(ctx thrift.Context, methodName stri... method handleTest (line 349) | func (s *tchanSecondServer) handleTest(ctx thrift.Context, protocol at... function NewTChanSecondServer (line 323) | func NewTChanSecondServer(handler TChanSecond) thrift.TChanServer { FILE: examples/thrift/gen-go/example/ttypes.go type HealthCheckRes (line 22) | type HealthCheckRes struct method GetHealthy (line 31) | func (p *HealthCheckRes) GetHealthy() bool { method GetMsg (line 35) | func (p *HealthCheckRes) GetMsg() string { method Read (line 38) | func (p *HealthCheckRes) Read(iprot thrift.TProtocol) error { method ReadField1 (line 75) | func (p *HealthCheckRes) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 84) | func (p *HealthCheckRes) ReadField2(iprot thrift.TProtocol) error { method Write (line 93) | func (p *HealthCheckRes) Write(oprot thrift.TProtocol) error { method writeField1 (line 112) | func (p *HealthCheckRes) writeField1(oprot thrift.TProtocol) (err erro... method writeField2 (line 125) | func (p *HealthCheckRes) writeField2(oprot thrift.TProtocol) (err erro... method String (line 138) | func (p *HealthCheckRes) String() string { function NewHealthCheckRes (line 27) | func NewHealthCheckRes() *HealthCheckRes { FILE: examples/thrift/main.go function main (line 39) | func main() { function setupServer (line 63) | func setupServer() (net.Listener, error) { function runClient1 (line 83) | func runClient1(hyperbahnService string, addr net.Addr) error { function runClient2 (line 106) | func runClient2(hyperbahnService string, addr net.Addr) error { function listenConsole (line 126) | func listenConsole() { function printStack (line 139) | func printStack() { type firstHandler (line 145) | type firstHandler struct method Healthcheck (line 147) | func (h *firstHandler) Healthcheck(ctx thrift.Context) (*gen.HealthChe... method BaseCall (line 154) | func (h *firstHandler) BaseCall(ctx thrift.Context) error { method Echo (line 159) | func (h *firstHandler) Echo(ctx thrift.Context, msg string) (r string,... method AppError (line 164) | func (h *firstHandler) AppError(ctx thrift.Context) error { method OneWay (line 169) | func (h *firstHandler) OneWay(ctx thrift.Context) error { type secondHandler (line 174) | type secondHandler struct method Test (line 176) | func (h *secondHandler) Test(ctx thrift.Context) error { function optsFor (line 181) | func optsFor(processName string) *tchannel.ChannelOptions { FILE: fragmentation_test.go constant testFragmentHeaderSize (line 37) | testFragmentHeaderSize = 1 /* flags */ + 1 /* checksum type */ + 4 constant testFragmentPayloadSize (line 39) | testFragmentPayloadSize = 10 constant testFragmentSize (line 40) | testFragmentSize = testFragmentHeaderSize + testFragmentPayloadSize function TestFragmentationEmptyArgs (line 43) | func TestFragmentationEmptyArgs(t *testing.T) { function TestFragmentationSingleFragment (line 53) | func TestFragmentationSingleFragment(t *testing.T) { function TestFragmentationMultipleFragments (line 63) | func TestFragmentationMultipleFragments(t *testing.T) { function TestFragmentationMiddleArgNearFragmentBoundary (line 90) | func TestFragmentationMiddleArgNearFragmentBoundary(t *testing.T) { function TestFragmentationMiddleArgOnExactFragmentBoundary (line 108) | func TestFragmentationMiddleArgOnExactFragmentBoundary(t *testing.T) { function TestFragmentationLastArgOnNearFragmentBoundary (line 124) | func TestFragmentationLastArgOnNearFragmentBoundary(t *testing.T) { function TestFragmentationLastArgOnExactFragmentBoundary (line 135) | func TestFragmentationLastArgOnExactFragmentBoundary(t *testing.T) { function TestFragmentationWriterErrors (line 146) | func TestFragmentationWriterErrors(t *testing.T) { function TestFragmentationReaderErrors (line 174) | func TestFragmentationReaderErrors(t *testing.T) { function TestFragmentationChecksumTypeErrors (line 253) | func TestFragmentationChecksumTypeErrors(t *testing.T) { function TestFragmentationChecksumMismatch (line 280) | func TestFragmentationChecksumMismatch(t *testing.T) { function runFragmentationErrorTest (line 307) | func runFragmentationErrorTest(f func(w *fragmentingWriter, r *fragmenti... function runFragmentationTest (line 314) | func runFragmentationTest(t *testing.T, args []string, expectedFragments... type fragmentChannel (line 374) | type fragmentChannel method newFragment (line 376) | func (ch fragmentChannel) newFragment(initial bool, checksum Checksum)... method flushFragment (line 387) | func (ch fragmentChannel) flushFragment(fragment *writableFragment) er... method recvNextFragment (line 394) | func (ch fragmentChannel) recvNextFragment(initial bool) (*readableFra... method doneReading (line 405) | func (ch fragmentChannel) doneReading(unexpected error) {} method doneSending (line 406) | func (ch fragmentChannel) doneSending() {} function buffers (line 408) | func buffers(elements ...[][]byte) [][]byte { FILE: fragmenting_reader.go type readableFragment (line 42) | type readableFragment struct method done (line 51) | func (f *readableFragment) done() { type fragmentReceiver (line 59) | type fragmentReceiver interface type fragmentingReadState (line 69) | type fragmentingReadState method isReadingArgument (line 79) | func (s fragmentingReadState) isReadingArgument() bool { constant fragmentingReadStart (line 72) | fragmentingReadStart fragmentingReadState = iota constant fragmentingReadInArgument (line 73) | fragmentingReadInArgument constant fragmentingReadInLastArgument (line 74) | fragmentingReadInLastArgument constant fragmentingReadWaitingForArgument (line 75) | fragmentingReadWaitingForArgument constant fragmentingReadComplete (line 76) | fragmentingReadComplete type fragmentingReader (line 83) | type fragmentingReader struct method ArgReader (line 105) | func (r *fragmentingReader) ArgReader(last bool) (ArgReader, error) { method BeginArgument (line 112) | func (r *fragmentingReader) BeginArgument(last bool) error { method Read (line 142) | func (r *fragmentingReader) Read(b []byte) (int, error) { method Close (line 187) | func (r *fragmentingReader) Close() error { method recvAndParseNextFragment (line 256) | func (r *fragmentingReader) recvAndParseNextFragment(initial bool) err... method doneReading (line 311) | func (r *fragmentingReader) doneReading(err error) { function newFragmentingReader (line 95) | func newFragmentingReader(logger Logger, receiver fragmentReceiver) *fra... FILE: fragmenting_writer.go constant chunkHeaderSize (line 37) | chunkHeaderSize = 2 constant hasMoreFragmentsFlag (line 38) | hasMoreFragmentsFlag = 0x01 type writableFragment (line 44) | type writableFragment struct method finish (line 53) | func (f *writableFragment) finish(hasMoreFragments bool) { type writableChunk (line 67) | type writableChunk struct method writeAsFits (line 85) | func (c *writableChunk) writeAsFits(b []byte) int { method finish (line 99) | func (c *writableChunk) finish() { function newWritableChunk (line 75) | func newWritableChunk(checksum Checksum, contents *typed.WriteBuffer) *w... type fragmentSender (line 104) | type fragmentSender interface type fragmentingWriterState (line 115) | type fragmentingWriterState method isWritingArgument (line 125) | func (s fragmentingWriterState) isWritingArgument() bool { constant fragmentingWriteStart (line 118) | fragmentingWriteStart fragmentingWriterState = iota constant fragmentingWriteInArgument (line 119) | fragmentingWriteInArgument constant fragmentingWriteInLastArgument (line 120) | fragmentingWriteInLastArgument constant fragmentingWriteWaitingForArgument (line 121) | fragmentingWriteWaitingForArgument constant fragmentingWriteComplete (line 122) | fragmentingWriteComplete type fragmentingWriter (line 133) | type fragmentingWriter struct method ArgWriter (line 155) | func (w *fragmentingWriter) ArgWriter(last bool) (ArgWriter, error) { method BeginArgument (line 164) | func (w *fragmentingWriter) BeginArgument(last bool) error { method Write (line 203) | func (w *fragmentingWriter) Write(b []byte) (int, error) { method Flush (line 233) | func (w *fragmentingWriter) Flush() error { method Close (line 249) | func (w *fragmentingWriter) Close() error { function newFragmentingWriter (line 144) | func newFragmentingWriter(logger Logger, sender fragmentSender, checksum... FILE: frame.go constant MaxFrameSize (line 34) | MaxFrameSize = math.MaxUint16 constant FrameHeaderSize (line 37) | FrameHeaderSize = 16 constant MaxFramePayloadSize (line 40) | MaxFramePayloadSize = MaxFrameSize - FrameHeaderSize type FrameHeader (line 44) | type FrameHeader struct method SetPayloadSize (line 62) | func (fh *FrameHeader) SetPayloadSize(size uint16) { method PayloadSize (line 67) | func (fh FrameHeader) PayloadSize() uint16 { method FrameSize (line 72) | func (fh FrameHeader) FrameSize() uint16 { method MessageType (line 77) | func (fh FrameHeader) MessageType() byte { method String (line 81) | func (fh FrameHeader) String() string { return fmt.Sprintf("%v[%d]", f... method MarshalJSON (line 84) | func (fh FrameHeader) MarshalJSON() ([]byte, error) { method read (line 93) | func (fh *FrameHeader) read(r *typed.ReadBuffer) error { method write (line 102) | func (fh *FrameHeader) write(w *typed.WriteBuffer) error { type Frame (line 112) | type Frame struct method ReadBody (line 135) | func (f *Frame) ReadBody(header []byte, r io.Reader) error { method ReadIn (line 160) | func (f *Frame) ReadIn(r io.Reader) error { method WriteOut (line 170) | func (f *Frame) WriteOut(w io.Writer) error { method SizedPayload (line 187) | func (f *Frame) SizedPayload() []byte { method messageType (line 192) | func (f *Frame) messageType() messageType { method write (line 196) | func (f *Frame) write(msg message) error { method read (line 210) | func (f *Frame) read(msg message) error { function NewFrame (line 124) | func NewFrame(payloadCapacity int) *Frame { FILE: frame_pool.go type FramePool (line 26) | type FramePool interface type disabledFramePool (line 40) | type disabledFramePool struct method Get (line 42) | func (p disabledFramePool) Get() *Frame { return NewFrame(MaxFram... method Release (line 43) | func (p disabledFramePool) Release(f *Frame) {} type syncFramePool (line 45) | type syncFramePool struct method Get (line 56) | func (p syncFramePool) Get() *Frame { method Release (line 60) | func (p syncFramePool) Release(f *Frame) { function NewSyncFramePool (line 50) | func NewSyncFramePool() FramePool { type channelFramePool (line 64) | type channelFramePool method Get (line 71) | func (c channelFramePool) Get() *Frame { method Release (line 80) | func (c channelFramePool) Release(f *Frame) { function NewChannelFramePool (line 67) | func NewChannelFramePool(capacity int) FramePool { FILE: frame_pool_b_test.go function benchmarkUsing (line 33) | func benchmarkUsing(b *testing.B, pool FramePool) { function BenchmarkFramePoolDisabled (line 69) | func BenchmarkFramePoolDisabled(b *testing.B) { function BenchmarkFramePoolSync (line 73) | func BenchmarkFramePoolSync(b *testing.B) { function BenchmarkFramePoolChannel1000 (line 77) | func BenchmarkFramePoolChannel1000(b *testing.B) { function BenchmarkFramePoolChannel10000 (line 81) | func BenchmarkFramePoolChannel10000(b *testing.B) { FILE: frame_pool_test.go type swapper (line 45) | type swapper struct method OnError (line 49) | func (s *swapper) OnError(ctx context.Context, err error) { method Handle (line 53) | func (*swapper) Handle(ctx context.Context, args *raw.Args) (*raw.Res,... function doPingAndCall (line 60) | func doPingAndCall(t testing.TB, clientCh *Channel, hostPort string) { function doErrorCall (line 84) | func doErrorCall(t testing.TB, clientCh *Channel, hostPort string) { function TestFramesReleased (line 93) | func TestFramesReleased(t *testing.T) { type dirtyFramePool (line 138) | type dirtyFramePool struct method Get (line 140) | func (p dirtyFramePool) Get() *Frame { method Release (line 147) | func (p dirtyFramePool) Release(f *Frame) {} function TestDirtyFrameRequests (line 149) | func TestDirtyFrameRequests(t *testing.T) { FILE: frame_test.go function fakeHeader (line 40) | func fakeHeader(t messageType) FrameHeader { function TestFrameHeaderJSON (line 48) | func TestFrameHeaderJSON(t *testing.T) { function TestFraming (line 60) | func TestFraming(t *testing.T) { function TestPartialRead (line 78) | func TestPartialRead(t *testing.T) { function TestFrameReadShortFrame (line 102) | func TestFrameReadShortFrame(t *testing.T) { function TestEmptyPayload (line 120) | func TestEmptyPayload(t *testing.T) { function TestReservedBytes (line 136) | func TestReservedBytes(t *testing.T) { function TestMessageType (line 160) | func TestMessageType(t *testing.T) { function TestFrameReadIn (line 167) | func TestFrameReadIn(t *testing.T) { function frameReadIn (line 274) | func frameReadIn(bs []byte) (decoded bool) { function TestQuickFrameReadIn (line 287) | func TestQuickFrameReadIn(t *testing.T) { FILE: frame_utils_test.go type protectMemAllocs (line 31) | type protectMemAllocs struct type ProtectMemFramePool (line 36) | type ProtectMemFramePool struct method Get (line 49) | func (p *ProtectMemFramePool) Get() *Frame { method Release (line 68) | func (p *ProtectMemFramePool) Release(f *Frame) { function NewProtectMemFramePool (line 44) | func NewProtectMemFramePool() FramePool { FILE: handlers.go type Handler (line 33) | type Handler interface type registrar (line 39) | type registrar interface type HandlerFunc (line 46) | type HandlerFunc method Handle (line 49) | func (f HandlerFunc) Handle(ctx context.Context, call *InboundCall) { ... type ErrorHandlerFunc (line 55) | type ErrorHandlerFunc method Handle (line 58) | func (f ErrorHandlerFunc) Handle(ctx context.Context, call *InboundCal... method getLogFields (line 67) | func (f ErrorHandlerFunc) getLogFields() LogFields { type handlerMap (line 79) | type handlerMap struct method Register (line 86) | func (hmap *handlerMap) Register(h Handler, method string) { method find (line 99) | func (hmap *handlerMap) find(method []byte) Handler { method Handle (line 107) | func (hmap *handlerMap) Handle(ctx context.Context, call *InboundCall) { type channelHandler (line 128) | type channelHandler struct method Handle (line 130) | func (c channelHandler) Handle(ctx context.Context, call *InboundCall) { method Register (line 135) | func (c channelHandler) Register(h Handler, methodName string) { type userHandlerWithSkip (line 143) | type userHandlerWithSkip struct method Handle (line 149) | func (u userHandlerWithSkip) Handle(ctx context.Context, call *Inbound... method Register (line 157) | func (u userHandlerWithSkip) Register(h Handler, methodName string) { FILE: handlers_test.go type dummyHandler (line 30) | type dummyHandler struct method Handle (line 32) | func (dummyHandler) Handle(ctx context.Context, call *InboundCall) {} function TestHandlers (line 34) | func TestHandlers(t *testing.T) { FILE: handlers_with_skip_test.go function procedure (line 37) | func procedure(svc, method string) string { function TestUserHandlerWithSkip (line 41) | func TestUserHandlerWithSkip(t *testing.T) { function TestUserHandlerWithSkipInvalidInput (line 81) | func TestUserHandlerWithSkipInvalidInput(t *testing.T) { type recordHandler (line 90) | type recordHandler struct method Handle (line 92) | func (r *recordHandler) Handle(ctx context.Context, call *InboundCall) { FILE: health.go constant _defaultHealthCheckTimeout (line 31) | _defaultHealthCheckTimeout = time.Second constant _defaultHealthCheckFailuresToClose (line 32) | _defaultHealthCheckFailuresToClose = 5 constant _healthHistorySize (line 34) | _healthHistorySize = 256 type HealthCheckOptions (line 41) | type HealthCheckOptions struct method enabled (line 95) | func (hco HealthCheckOptions) enabled() bool { method withDefaults (line 99) | func (hco HealthCheckOptions) withDefaults() HealthCheckOptions { type healthHistory (line 56) | type healthHistory struct method add (line 71) | func (hh *healthHistory) add(b bool) { method asBools (line 80) | func (hh *healthHistory) asBools() []bool { function newHealthHistory (line 65) | func newHealthHistory() *healthHistory { method healthCheck (line 111) | func (c *Connection) healthCheck(connID uint32) { method stopHealthCheck (line 163) | func (c *Connection) stopHealthCheck() { FILE: health_ext_test.go function TestHealthCheckStopBeforeStart (line 36) | func TestHealthCheckStopBeforeStart(t *testing.T) { function TestHealthCheckStopNoError (line 71) | func TestHealthCheckStopNoError(t *testing.T) { function TestHealthCheckIntegration (line 113) | func TestHealthCheckIntegration(t *testing.T) { function waitForNHealthChecks (line 209) | func waitForNHealthChecks(t testing.TB, conn *Connection, n int) { function introspectConn (line 215) | func introspectConn(c *Connection) ConnectionRuntimeState { FILE: health_test.go function TestHealthCheckEnabled (line 31) | func TestHealthCheckEnabled(t *testing.T) { function TestHealthCheckOptionsDefaults (line 39) | func TestHealthCheckOptionsDefaults(t *testing.T) { function TestHealthHistory (line 68) | func TestHealthHistory(t *testing.T) { FILE: http/buf.go function writeHeaders (line 29) | func writeHeaders(wb *typed.WriteBuffer, form http.Header) { function readHeaders (line 42) | func readHeaders(rb *typed.ReadBuffer, form http.Header) { function readVarintString (line 51) | func readVarintString(rb *typed.ReadBuffer) string { function writeVarintString (line 56) | func writeVarintString(wb *typed.WriteBuffer, s string) { FILE: http/buf_test.go function TestHeaders (line 32) | func TestHeaders(t *testing.T) { function TestVarintString (line 53) | func TestVarintString(t *testing.T) { FILE: http/http_test.go function dumpHandler (line 43) | func dumpHandler(w http.ResponseWriter, r *http.Request) { function setupHTTP (line 70) | func setupHTTP(t *testing.T, serveMux *http.ServeMux) (string, func()) { function setupTChan (line 79) | func setupTChan(t *testing.T, mux *http.ServeMux) (string, func()) { function setupProxy (line 96) | func setupProxy(t *testing.T, tchanAddr string) (string, func()) { function setupServer (line 132) | func setupServer(t *testing.T) (string, string, func()) { function makeHTTPCall (line 146) | func makeHTTPCall(t *testing.T, req *http.Request) *http.Response { function makeTChanCall (line 152) | func makeTChanCall(t *testing.T, tchanAddr string, req *http.Request) *h... function compareResponseBasic (line 167) | func compareResponseBasic(t *testing.T, testName string, resp1, resp2 *h... function compareResponses (line 178) | func compareResponses(t *testing.T, testName string, resp1, resp2 *http.... type requestTest (line 186) | type requestTest struct function getRequestTests (line 191) | func getRequestTests(t *testing.T) []requestTest { function TestDirectRequests (line 223) | func TestDirectRequests(t *testing.T) { function TestProxyRequests (line 235) | func TestProxyRequests(t *testing.T) { FILE: http/request.go function WriteRequest (line 32) | func WriteRequest(call tchannel.ArgWritable, req *http.Request) error { function ReadRequest (line 64) | func ReadRequest(call tchannel.ArgReadable) (*http.Request, error) { FILE: http/response.go function ReadResponse (line 33) | func ReadResponse(call tchannel.ArgReadable) (*http.Response, error) { type tchanResponseWriter (line 65) | type tchanResponseWriter struct method Header (line 81) | func (w *tchanResponseWriter) Header() http.Header { method WriteHeader (line 85) | func (w *tchanResponseWriter) WriteHeader(statusCode int) { method writeHeaders (line 90) | func (w *tchanResponseWriter) writeHeaders() { method Write (line 112) | func (w *tchanResponseWriter) Write(bs []byte) (int, error) { method finish (line 127) | func (w *tchanResponseWriter) finish() error { function newTChanResponseWriter (line 73) | func newTChanResponseWriter(response tchannel.ArgWritable) *tchanRespons... function ResponseWriter (line 136) | func ResponseWriter(response tchannel.ArgWritable) (http.ResponseWriter,... FILE: hyperbahn/advertise.go constant maxAdvertiseFailures (line 34) | maxAdvertiseFailures = 5 constant advertiseInterval (line 36) | advertiseInterval = 50 * time.Second constant advertiseFuzzInterval (line 38) | advertiseFuzzInterval = 20 * time.Second constant advertiseRetryInterval (line 41) | advertiseRetryInterval = 1 * time.Second type ErrAdvertiseFailed (line 45) | type ErrAdvertiseFailed struct method Error (line 52) | func (e ErrAdvertiseFailed) Error() string { function fuzzInterval (line 58) | func fuzzInterval(interval time.Duration) time.Duration { method fuzzedAdvertiseInterval (line 63) | func (c *Client) fuzzedAdvertiseInterval() time.Duration { method logFailedRegistrationRetry (line 69) | func (c *Client) logFailedRegistrationRetry(errLogger tchannel.Logger, c... method advertiseLoop (line 79) | func (c *Client) advertiseLoop() { method initialAdvertise (line 116) | func (c *Client) initialAdvertise() error { method sleep (line 134) | func (c *Client) sleep(d time.Duration) { FILE: hyperbahn/advertise_test.go function TestInitialAdvertiseFailedRetryBackoff (line 38) | func TestInitialAdvertiseFailedRetryBackoff(t *testing.T) { function TestInitialAdvertiseFailedRetryTimeout (line 67) | func TestInitialAdvertiseFailedRetryTimeout(t *testing.T) { function TestNotListeningChannel (line 95) | func TestNotListeningChannel(t *testing.T) { type retryTest (line 111) | type retryTest struct method On (line 128) | func (r *retryTest) On(event Event) { method OnError (line 131) | func (r *retryTest) OnError(err error) { method adHandler (line 135) | func (r *retryTest) adHandler(ctx json.Context, req *AdRequest) (*AdRe... method setup (line 144) | func (r *retryTest) setup() { method setAdvertiseSuccess (line 150) | func (r *retryTest) setAdvertiseSuccess() { method setAdvertiseFailure (line 154) | func (r *retryTest) setAdvertiseFailure() { function runRetryTest (line 158) | func runRetryTest(t *testing.T, f func(r *retryTest)) { function TestAdvertiseSuccess (line 187) | func TestAdvertiseSuccess(t *testing.T) { function TestMutlipleAdvertise (line 215) | func TestMutlipleAdvertise(t *testing.T) { function TestRetryTemporaryFailure (line 251) | func TestRetryTemporaryFailure(t *testing.T) { function TestRetryFailure (line 288) | func TestRetryFailure(t *testing.T) { function checkAdvertiseInterval (line 343) | func checkAdvertiseInterval(t *testing.T, sleptFor time.Duration) { function checkRetryInterval (line 350) | func checkRetryInterval(t *testing.T, sleptFor time.Duration, retryNum i... function configFor (line 356) | func configFor(node string) Configuration { function stubbedSleep (line 362) | func stubbedSleep() *ClientOptions { function withSetup (line 368) | func withSetup(t *testing.T, f func(ch *tchannel.Channel, hostPort strin... FILE: hyperbahn/call.go type service (line 32) | type service struct type AdRequest (line 38) | type AdRequest struct type AdResponse (line 43) | type AdResponse struct method createRequest (line 47) | func (c *Client) createRequest() *AdRequest { method sendAdvertise (line 60) | func (c *Client) sendAdvertise() error { FILE: hyperbahn/client.go type Client (line 37) | type Client struct method getServiceNames (line 170) | func (c *Client) getServiceNames(otherServices []tchannel.Registrar) { method Advertise (line 182) | func (c *Client) Advertise(otherServices ...tchannel.Registrar) error { method IsClosed (line 195) | func (c *Client) IsClosed() bool { method Close (line 205) | func (c *Client) Close() { type FailStrategy (line 49) | type FailStrategy method UnmarshalText (line 65) | func (f *FailStrategy) UnmarshalText(text []byte) error { constant FailStrategyFatal (line 54) | FailStrategyFatal FailStrategy = iota constant FailStrategyIgnore (line 57) | FailStrategyIgnore constant hyperbahnServiceName (line 60) | hyperbahnServiceName = "hyperbahn" type ClientOptions (line 78) | type ClientOptions struct function NewClient (line 94) | func NewClient(ch *tchannel.Channel, config Configuration, opts *ClientO... function parseConfig (line 136) | func parseConfig(config *Configuration) error { function addPeer (line 165) | func addPeer(ch *tchannel.Channel, hostPort string) { FILE: hyperbahn/client_test.go function getPeers (line 37) | func getPeers(ch *tchannel.Channel) []string { function TestParseConfiguration (line 46) | func TestParseConfiguration(t *testing.T) { function TestUnmarshalFailStrategyFormats (line 126) | func TestUnmarshalFailStrategyFormats(t *testing.T) { function TestUnmarshalText (line 159) | func TestUnmarshalText(t *testing.T) { FILE: hyperbahn/configuration.go type Configuration (line 24) | type Configuration struct FILE: hyperbahn/discover.go method Discover (line 32) | func (c *Client) Discover(serviceName string) ([]string, error) { FILE: hyperbahn/discover_test.go function withSetup (line 35) | func withSetup(t *testing.T, f func(mh *mockhyperbahn.Mock, client *Clie... function TestDiscoverSuccess (line 48) | func TestDiscoverSuccess(t *testing.T) { function TestDiscoverFails (line 65) | func TestDiscoverFails(t *testing.T) { FILE: hyperbahn/event_string.go constant _Event_name (line 7) | _Event_name = "UnknownEventRegistrationAttemptRegisteredRegistrationRefr... method String (line 11) | func (i Event) String() string { FILE: hyperbahn/events.go type Event (line 24) | type Event constant UnknownEvent (line 28) | UnknownEvent Event = iota constant SendAdvertise (line 30) | SendAdvertise constant Advertised (line 32) | Advertised constant Readvertised (line 34) | Readvertised type Handler (line 40) | type Handler interface type nullHandler (line 48) | type nullHandler struct method On (line 50) | func (nullHandler) On(event Event) {} method OnError (line 51) | func (nullHandler) OnError(err error) {} FILE: hyperbahn/gen-go/hyperbahn/constants.go function init (line 17) | func init() { FILE: hyperbahn/gen-go/hyperbahn/hyperbahn.go type Hyperbahn (line 17) | type Hyperbahn interface type HyperbahnClient (line 23) | type HyperbahnClient struct method Discover (line 51) | func (p *HyperbahnClient) Discover(query *DiscoveryQuery) (r *Discover... method sendDiscover (line 58) | func (p *HyperbahnClient) sendDiscover(query *DiscoveryQuery) (err err... method recvDiscover (line 80) | func (p *HyperbahnClient) recvDiscover() (value *DiscoveryResult_, err... function NewHyperbahnClientFactory (line 31) | func NewHyperbahnClientFactory(t thrift.TTransport, f thrift.TProtocolFa... function NewHyperbahnClientProtocol (line 40) | func NewHyperbahnClientProtocol(t thrift.TTransport, iprot thrift.TProto... type HyperbahnProcessor (line 133) | type HyperbahnProcessor struct method AddToProcessorMap (line 138) | func (p *HyperbahnProcessor) AddToProcessorMap(key string, processor t... method GetProcessorFunction (line 142) | func (p *HyperbahnProcessor) GetProcessorFunction(key string) (process... method ProcessorMap (line 147) | func (p *HyperbahnProcessor) ProcessorMap() map[string]thrift.TProcess... method Process (line 158) | func (p *HyperbahnProcessor) Process(iprot, oprot thrift.TProtocol) (s... function NewHyperbahnProcessor (line 151) | func NewHyperbahnProcessor(handler Hyperbahn) *HyperbahnProcessor { type hyperbahnProcessorDiscover (line 177) | type hyperbahnProcessorDiscover struct method Process (line 181) | func (p *hyperbahnProcessorDiscover) Process(seqId int32, iprot, oprot... type HyperbahnDiscoverArgs (line 236) | type HyperbahnDiscoverArgs struct method GetQuery (line 246) | func (p *HyperbahnDiscoverArgs) GetQuery() *DiscoveryQuery { method IsSetQuery (line 252) | func (p *HyperbahnDiscoverArgs) IsSetQuery() bool { method Read (line 256) | func (p *HyperbahnDiscoverArgs) Read(iprot thrift.TProtocol) error { method ReadField1 (line 295) | func (p *HyperbahnDiscoverArgs) ReadField1(iprot thrift.TProtocol) err... method Write (line 303) | func (p *HyperbahnDiscoverArgs) Write(oprot thrift.TProtocol) error { method writeField1 (line 319) | func (p *HyperbahnDiscoverArgs) writeField1(oprot thrift.TProtocol) (e... method String (line 332) | func (p *HyperbahnDiscoverArgs) String() string { function NewHyperbahnDiscoverArgs (line 240) | func NewHyperbahnDiscoverArgs() *HyperbahnDiscoverArgs { type HyperbahnDiscoverResult (line 343) | type HyperbahnDiscoverResult struct method GetSuccess (line 355) | func (p *HyperbahnDiscoverResult) GetSuccess() *DiscoveryResult_ { method GetNoPeersAvailable (line 364) | func (p *HyperbahnDiscoverResult) GetNoPeersAvailable() *NoPeersAvaila... method GetInvalidServiceName (line 373) | func (p *HyperbahnDiscoverResult) GetInvalidServiceName() *InvalidServ... method IsSetSuccess (line 379) | func (p *HyperbahnDiscoverResult) IsSetSuccess() bool { method IsSetNoPeersAvailable (line 383) | func (p *HyperbahnDiscoverResult) IsSetNoPeersAvailable() bool { method IsSetInvalidServiceName (line 387) | func (p *HyperbahnDiscoverResult) IsSetInvalidServiceName() bool { method Read (line 391) | func (p *HyperbahnDiscoverResult) Read(iprot thrift.TProtocol) error { method ReadField0 (line 432) | func (p *HyperbahnDiscoverResult) ReadField0(iprot thrift.TProtocol) e... method ReadField1 (line 440) | func (p *HyperbahnDiscoverResult) ReadField1(iprot thrift.TProtocol) e... method ReadField2 (line 448) | func (p *HyperbahnDiscoverResult) ReadField2(iprot thrift.TProtocol) e... method Write (line 456) | func (p *HyperbahnDiscoverResult) Write(oprot thrift.TProtocol) error { method writeField0 (line 478) | func (p *HyperbahnDiscoverResult) writeField0(oprot thrift.TProtocol) ... method writeField1 (line 493) | func (p *HyperbahnDiscoverResult) writeField1(oprot thrift.TProtocol) ... method writeField2 (line 508) | func (p *HyperbahnDiscoverResult) writeField2(oprot thrift.TProtocol) ... method String (line 523) | func (p *HyperbahnDiscoverResult) String() string { function NewHyperbahnDiscoverResult (line 349) | func NewHyperbahnDiscoverResult() *HyperbahnDiscoverResult { FILE: hyperbahn/gen-go/hyperbahn/tchan-hyperbahn.go type TChanHyperbahn (line 16) | type TChanHyperbahn interface type tchanHyperbahnClient (line 22) | type tchanHyperbahnClient struct method Discover (line 39) | func (c *tchanHyperbahnClient) Discover(ctx thrift.Context, query *Dis... function NewTChanHyperbahnInheritedClient (line 27) | func NewTChanHyperbahnInheritedClient(thriftService string, client thrif... function NewTChanHyperbahnClient (line 35) | func NewTChanHyperbahnClient(client thrift.TChanClient) TChanHyperbahn { type tchanHyperbahnServer (line 59) | type tchanHyperbahnServer struct method Service (line 71) | func (s *tchanHyperbahnServer) Service() string { method Methods (line 75) | func (s *tchanHyperbahnServer) Methods() []string { method Handle (line 81) | func (s *tchanHyperbahnServer) Handle(ctx thrift.Context, methodName s... method handleDiscover (line 91) | func (s *tchanHyperbahnServer) handleDiscover(ctx thrift.Context, prot... function NewTChanHyperbahnServer (line 65) | func NewTChanHyperbahnServer(handler TChanHyperbahn) thrift.TChanServer { FILE: hyperbahn/gen-go/hyperbahn/ttypes.go type NoPeersAvailable (line 22) | type NoPeersAvailable struct method GetMessage (line 31) | func (p *NoPeersAvailable) GetMessage() string { method GetServiceName (line 35) | func (p *NoPeersAvailable) GetServiceName() string { method Read (line 38) | func (p *NoPeersAvailable) Read(iprot thrift.TProtocol) error { method ReadField1 (line 86) | func (p *NoPeersAvailable) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 95) | func (p *NoPeersAvailable) ReadField2(iprot thrift.TProtocol) error { method Write (line 104) | func (p *NoPeersAvailable) Write(oprot thrift.TProtocol) error { method writeField1 (line 123) | func (p *NoPeersAvailable) writeField1(oprot thrift.TProtocol) (err er... method writeField2 (line 136) | func (p *NoPeersAvailable) writeField2(oprot thrift.TProtocol) (err er... method String (line 149) | func (p *NoPeersAvailable) String() string { method Error (line 156) | func (p *NoPeersAvailable) Error() string { function NewNoPeersAvailable (line 27) | func NewNoPeersAvailable() *NoPeersAvailable { type InvalidServiceName (line 163) | type InvalidServiceName struct method GetMessage (line 172) | func (p *InvalidServiceName) GetMessage() string { method GetServiceName (line 176) | func (p *InvalidServiceName) GetServiceName() string { method Read (line 179) | func (p *InvalidServiceName) Read(iprot thrift.TProtocol) error { method ReadField1 (line 227) | func (p *InvalidServiceName) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 236) | func (p *InvalidServiceName) ReadField2(iprot thrift.TProtocol) error { method Write (line 245) | func (p *InvalidServiceName) Write(oprot thrift.TProtocol) error { method writeField1 (line 264) | func (p *InvalidServiceName) writeField1(oprot thrift.TProtocol) (err ... method writeField2 (line 277) | func (p *InvalidServiceName) writeField2(oprot thrift.TProtocol) (err ... method String (line 290) | func (p *InvalidServiceName) String() string { method Error (line 297) | func (p *InvalidServiceName) Error() string { function NewInvalidServiceName (line 168) | func NewInvalidServiceName() *InvalidServiceName { type DiscoveryQuery (line 303) | type DiscoveryQuery struct method GetServiceName (line 311) | func (p *DiscoveryQuery) GetServiceName() string { method Read (line 314) | func (p *DiscoveryQuery) Read(iprot thrift.TProtocol) error { method ReadField1 (line 353) | func (p *DiscoveryQuery) ReadField1(iprot thrift.TProtocol) error { method Write (line 362) | func (p *DiscoveryQuery) Write(oprot thrift.TProtocol) error { method writeField1 (line 378) | func (p *DiscoveryQuery) writeField1(oprot thrift.TProtocol) (err erro... method String (line 391) | func (p *DiscoveryQuery) String() string { function NewDiscoveryQuery (line 307) | func NewDiscoveryQuery() *DiscoveryQuery { type IpAddress (line 400) | type IpAddress struct method GetIpv4 (line 410) | func (p *IpAddress) GetIpv4() int32 { method CountSetFieldsIpAddress (line 416) | func (p *IpAddress) CountSetFieldsIpAddress() int { method IsSetIpv4 (line 425) | func (p *IpAddress) IsSetIpv4() bool { method Read (line 429) | func (p *IpAddress) Read(iprot thrift.TProtocol) error { method ReadField1 (line 462) | func (p *IpAddress) ReadField1(iprot thrift.TProtocol) error { method Write (line 471) | func (p *IpAddress) Write(oprot thrift.TProtocol) error { method writeField1 (line 490) | func (p *IpAddress) writeField1(oprot thrift.TProtocol) (err error) { method String (line 505) | func (p *IpAddress) String() string { function NewIpAddress (line 404) | func NewIpAddress() *IpAddress { type ServicePeer (line 515) | type ServicePeer struct method GetIP (line 526) | func (p *ServicePeer) GetIP() *IpAddress { method GetPort (line 533) | func (p *ServicePeer) GetPort() int32 { method IsSetIP (line 536) | func (p *ServicePeer) IsSetIP() bool { method Read (line 540) | func (p *ServicePeer) Read(iprot thrift.TProtocol) error { method ReadField1 (line 588) | func (p *ServicePeer) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 596) | func (p *ServicePeer) ReadField2(iprot thrift.TProtocol) error { method Write (line 605) | func (p *ServicePeer) Write(oprot thrift.TProtocol) error { method writeField1 (line 624) | func (p *ServicePeer) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 637) | func (p *ServicePeer) writeField2(oprot thrift.TProtocol) (err error) { method String (line 650) | func (p *ServicePeer) String() string { function NewServicePeer (line 520) | func NewServicePeer() *ServicePeer { type DiscoveryResult_ (line 659) | type DiscoveryResult_ struct method GetPeers (line 667) | func (p *DiscoveryResult_) GetPeers() []*ServicePeer { method Read (line 670) | func (p *DiscoveryResult_) Read(iprot thrift.TProtocol) error { method ReadField1 (line 709) | func (p *DiscoveryResult_) ReadField1(iprot thrift.TProtocol) error { method Write (line 729) | func (p *DiscoveryResult_) Write(oprot thrift.TProtocol) error { method writeField1 (line 745) | func (p *DiscoveryResult_) writeField1(oprot thrift.TProtocol) (err er... method String (line 766) | func (p *DiscoveryResult_) String() string { function NewDiscoveryResult_ (line 663) | func NewDiscoveryResult_() *DiscoveryResult_ { FILE: hyperbahn/utils.go function intToIP4 (line 31) | func intToIP4(ip uint32) net.IP { function servicePeerToHostPort (line 41) | func servicePeerToHostPort(peer *hyperbahn.ServicePeer) string { FILE: hyperbahn/utils_test.go function TestIntToIP4 (line 29) | func TestIntToIP4(t *testing.T) { FILE: idle_sweep.go type idleSweep (line 29) | type idleSweep struct method start (line 51) | func (is *idleSweep) start() { method Stop (line 67) | func (is *idleSweep) Stop() { method pollerLoop (line 77) | func (is *idleSweep) pollerLoop() { method checkIdleConnections (line 91) | func (is *idleSweep) checkIdleConnections() { function startIdleSweep (line 39) | func startIdleSweep(ch *Channel, opts *ChannelOptions) *idleSweep { FILE: idle_sweep_test.go type peerStatusListener (line 40) | type peerStatusListener struct method onStatusChange (line 50) | func (pl *peerStatusListener) onStatusChange(p *Peer) { method waitForZeroConnections (line 54) | func (pl *peerStatusListener) waitForZeroConnections(t testing.TB, cha... method waitForZeroExchanges (line 69) | func (pl *peerStatusListener) waitForZeroExchanges(t testing.TB, chann... function newPeerStatusListener (line 44) | func newPeerStatusListener() *peerStatusListener { function allConnectionsClosed (line 82) | func allConnectionsClosed(channels []*Channel) bool { function allExchangesEmpty (line 92) | func allExchangesEmpty(channels []*Channel) (isEmpty bool, status []stri... function numConnections (line 104) | func numConnections(ch *Channel) int { function numExchanges (line 116) | func numExchanges(ch *Channel) int { function connectionStatus (line 131) | func connectionStatus(channels []*Channel) string { function TestServerBasedSweep (line 141) | func TestServerBasedSweep(t *testing.T) { function TestClientBasedSweep (line 184) | func TestClientBasedSweep(t *testing.T) { function TestRelayBasedSweep (line 225) | func TestRelayBasedSweep(t *testing.T) { function TestIdleSweepWithPings (line 267) | func TestIdleSweepWithPings(t *testing.T) { function TestIdleSweepMisconfiguration (line 312) | func TestIdleSweepMisconfiguration(t *testing.T) { function TestIdleSweepIgnoresConnectionsWithCalls (line 321) | func TestIdleSweepIgnoresConnectionsWithCalls(t *testing.T) { FILE: inbound.go constant systemErrorType (line 35) | systemErrorType = "system" constant appErrorType (line 36) | appErrorType = "application" method handleCallReq (line 44) | func (c *Connection) handleCallReq(frame *Frame) bool { method handleCallReqContinue (line 138) | func (c *Connection) handleCallReqContinue(frame *Frame) bool { method handleCancel (line 146) | func (c *Connection) handleCancel(frame *Frame) bool { method dispatchInbound (line 175) | func (c *Connection) dispatchInbound(_ uint32, _ uint32, call *InboundCa... type InboundCall (line 231) | type InboundCall struct method createStatsTags (line 165) | func (call *InboundCall) createStatsTags(connectionTags map[string]str... method ServiceName (line 245) | func (call *InboundCall) ServiceName() string { method Method (line 250) | func (call *InboundCall) Method() []byte { method MethodString (line 255) | func (call *InboundCall) MethodString() string { method Format (line 260) | func (call *InboundCall) Format() Format { method CallerName (line 265) | func (call *InboundCall) CallerName() string { method ShardKey (line 270) | func (call *InboundCall) ShardKey() string { method RoutingKey (line 275) | func (call *InboundCall) RoutingKey() string { method RoutingDelegate (line 280) | func (call *InboundCall) RoutingDelegate() string { method LocalPeer (line 285) | func (call *InboundCall) LocalPeer() LocalPeerInfo { method RemotePeer (line 290) | func (call *InboundCall) RemotePeer() PeerInfo { method Connection (line 295) | func (call *InboundCall) Connection() net.Conn { method CallOptions (line 300) | func (call *InboundCall) CallOptions() *CallOptions { method readMethod (line 311) | func (call *InboundCall) readMethod() error { method Arg2Reader (line 324) | func (call *InboundCall) Arg2Reader() (ArgReader, error) { method Arg3Reader (line 330) | func (call *InboundCall) Arg3Reader() (ArgReader, error) { method Response (line 336) | func (call *InboundCall) Response() *InboundCallResponse { method doneReading (line 347) | func (call *InboundCall) doneReading(unexpected error) {} type InboundCallResponse (line 350) | type InboundCallResponse struct method SendSystemError (line 368) | func (response *InboundCallResponse) SendSystemError(err error) error { method SetApplicationError (line 386) | func (response *InboundCallResponse) SetApplicationError() error { method Blackhole (line 401) | func (response *InboundCallResponse) Blackhole() { method Arg2Writer (line 407) | func (response *InboundCallResponse) Arg2Writer() (ArgWriter, error) { method Arg3Writer (line 416) | func (response *InboundCallResponse) Arg3Writer() (ArgWriter, error) { method setSpanErrorDetails (line 421) | func (response *InboundCallResponse) setSpanErrorDetails(err error) { method doneSending (line 437) | func (response *InboundCallResponse) doneSending() { FILE: inbound_internal_test.go type statsReporter (line 32) | type statsReporter struct method IncCounter (line 34) | func (w *statsReporter) IncCounter(name string, tags map[string]string... method UpdateGauge (line 37) | func (w *statsReporter) UpdateGauge(name string, tags map[string]strin... method RecordTimer (line 40) | func (w *statsReporter) RecordTimer(name string, tags map[string]strin... type testCase (line 43) | type testCase struct function TestTracingSpanError (line 53) | func TestTracingSpanError(t *testing.T) { FILE: inbound_test.go function TestSpanReportingForErrors (line 39) | func TestSpanReportingForErrors(t *testing.T) { function TestActiveCallReq (line 145) | func TestActiveCallReq(t *testing.T) { function TestInboundConnection (line 196) | func TestInboundConnection(t *testing.T) { function TestInboundConnection_CallOptions (line 217) | func TestInboundConnection_CallOptions(t *testing.T) { function TestCallOptionsPropogated (line 254) | func TestCallOptionsPropogated(t *testing.T) { function TestBlackhole (line 288) | func TestBlackhole(t *testing.T) { FILE: incoming_test.go function TestPeersIncomingConnection (line 34) | func TestPeersIncomingConnection(t *testing.T) { FILE: init_test.go function writeMessage (line 36) | func writeMessage(w io.Writer, msg message) error { function readFrame (line 44) | func readFrame(r io.Reader) (*Frame, error) { function TestUnexpectedInitReq (line 49) | func TestUnexpectedInitReq(t *testing.T) { function TestUnexpectedInitRes (line 128) | func TestUnexpectedInitRes(t *testing.T) { function TestHandleInitReqNewVersion (line 211) | func TestHandleInitReqNewVersion(t *testing.T) { function TestHandleInitRes (line 253) | func TestHandleInitRes(t *testing.T) { function TestInitReqGetsError (line 294) | func TestInitReqGetsError(t *testing.T) { function newListener (line 339) | func newListener(t *testing.T) net.Listener { FILE: internal/argreader/empty.go function EnsureEmpty (line 38) | func EnsureEmpty(r io.Reader, stage string) error { FILE: internal/argreader/empty_test.go function TestEnsureEmptySuccess (line 33) | func TestEnsureEmptySuccess(t *testing.T) { function TestEnsureEmptyHasBytes (line 39) | func TestEnsureEmptyHasBytes(t *testing.T) { function TestEnsureEmptyError (line 46) | func TestEnsureEmptyError(t *testing.T) { FILE: introspection.go type IntrospectionOptions (line 35) | type IntrospectionOptions struct type RuntimeVersion (line 52) | type RuntimeVersion struct type RuntimeState (line 58) | type RuntimeState struct type GoRuntimeStateOptions (line 95) | type GoRuntimeStateOptions struct type ChannelInfo (line 101) | type ChannelInfo struct type GoRuntimeState (line 108) | type GoRuntimeState struct type SubChannelRuntimeState (line 117) | type SubChannelRuntimeState struct type HandlerRuntimeState (line 126) | type HandlerRuntimeState struct type handlerType (line 131) | type handlerType method String (line 133) | func (h handlerType) String() string { return string(h) } constant methodHandler (line 136) | methodHandler handlerType = "methods" constant overrideHandler (line 137) | overrideHandler = "overriden" type SubPeerScore (line 141) | type SubPeerScore struct type ConnectionRuntimeState (line 147) | type ConnectionRuntimeState struct type RelayerRuntimeState (line 167) | type RelayerRuntimeState struct type ExchangeSetRuntimeState (line 176) | type ExchangeSetRuntimeState struct type RelayItemSetState (line 183) | type RelayItemSetState struct type ExchangeRuntimeState (line 190) | type ExchangeRuntimeState struct type RelayItemState (line 196) | type RelayItemState struct type PeerRuntimeState (line 204) | type PeerRuntimeState struct method IntrospectState (line 214) | func (ch *Channel) IntrospectState(opts *IntrospectionOptions) *RuntimeS... method IntrospectOthers (line 251) | func (ch *Channel) IntrospectOthers(opts *IntrospectionOptions) map[stri... method ReportInfo (line 275) | func (ch *Channel) ReportInfo(opts *IntrospectionOptions) ChannelInfo { type containsPeerList (line 283) | type containsPeerList interface function fromPeerList (line 287) | func fromPeerList(peers containsPeerList, opts *IntrospectionOptions) ma... method IntrospectState (line 299) | func (l *RootPeerList) IntrospectState(opts *IntrospectionOptions) map[s... method IntrospectState (line 304) | func (subChMap *subChannelMap) IntrospectState(opts *IntrospectionOption... function getConnectionRuntimeState (line 332) | func getConnectionRuntimeState(conns []*Connection, opts *IntrospectionO... method IntrospectState (line 343) | func (p *Peer) IntrospectState(opts *IntrospectionOptions) PeerRuntimeSt... method IntrospectState (line 357) | func (c *Connection) IntrospectState(opts *IntrospectionOptions) Connect... method IntrospectState (line 389) | func (r *Relayer) IntrospectState(opts *IntrospectionOptions) RelayerRun... method IntrospectState (line 401) | func (ri *relayItems) IntrospectState(opts *IntrospectionOptions, name s... method IntrospectState (line 429) | func (mexset *messageExchangeSet) IntrospectState(opts *IntrospectionOpt... function getStacks (line 451) | func getStacks(all bool) []byte { method handleIntrospection (line 464) | func (ch *Channel) handleIntrospection(arg3 []byte) interface{} { method IntrospectList (line 487) | func (l *PeerList) IntrospectList(opts *IntrospectionOptions) []SubPeerS... method IntrospectNumConnections (line 503) | func (ch *Channel) IntrospectNumConnections() int { function handleInternalRuntime (line 510) | func handleInternalRuntime(arg3 []byte) interface{} { function introspectRuntimeVersion (line 527) | func introspectRuntimeVersion() RuntimeVersion { method createInternalHandlers (line 538) | func (ch *Channel) createInternalHandlers() *handlerMap { FILE: introspection_test.go function TestIntrospection (line 40) | func TestIntrospection(t *testing.T) { function TestIntrospectByID (line 71) | func TestIntrospectByID(t *testing.T) { function TestIntrospectClosedConn (line 101) | func TestIntrospectClosedConn(t *testing.T) { function TestIntrospectionNotBlocked (line 150) | func TestIntrospectionNotBlocked(t *testing.T) { FILE: json/call.go type ErrApplication (line 32) | type ErrApplication method Error (line 34) | func (e ErrApplication) Error() string { type Client (line 39) | type Client struct method startCall (line 93) | func (c *Client) startCall(ctx context.Context, method string, callOpt... method Call (line 102) | func (c *Client) Call(ctx Context, method string, arg, resp interface{... type ClientOptions (line 46) | type ClientOptions struct function NewClient (line 51) | func NewClient(ch *tchannel.Channel, targetService string, opts *ClientO... function makeCall (line 62) | func makeCall(call *tchannel.OutboundCall, headers, arg3In, respHeaders,... function wrapCall (line 139) | func wrapCall(ctx Context, call *tchannel.OutboundCall, method string, a... function CallPeer (line 155) | func CallPeer(ctx Context, peer *tchannel.Peer, serviceName, method stri... function CallSC (line 165) | func CallSC(ctx Context, sc *tchannel.SubChannel, method string, arg, re... FILE: json/context.go type Context (line 32) | type Context function NewContext (line 35) | func NewContext(timeout time.Duration) (Context, context.CancelFunc) { function Wrap (line 41) | func Wrap(ctx context.Context) Context { function WithHeaders (line 46) | func WithHeaders(ctx context.Context, headers map[string]string) Context { FILE: json/handler.go type Handlers (line 39) | type Handlers function verifyHandler (line 43) | func verifyHandler(t reflect.Type) error { type handler (line 77) | type handler struct method Handle (line 127) | func (h *handler) Handle(tctx context.Context, call *tchannel.InboundC... function toHandler (line 84) | func toHandler(f interface{}) (*handler, error) { function Register (line 96) | func Register(registrar tchannel.Registrar, funcs Handlers, onError func... FILE: json/json_test.go type ForwardArgs (line 36) | type ForwardArgs struct type Res (line 44) | type Res struct type testHandler (line 48) | type testHandler struct method forward (line 55) | func (h *testHandler) forward(ctx Context, args *ForwardArgs) (*Res, e... method leaf (line 83) | func (h *testHandler) leaf(ctx Context, _ *struct{}) (*Res, error) { method onError (line 90) | func (h *testHandler) onError(ctx context.Context, err error) { function TestForwardChain (line 94) | func TestForwardChain(t *testing.T) { function TestHeadersForwarded (line 181) | func TestHeadersForwarded(t *testing.T) { function TestEmptyRequestHeader (line 211) | func TestEmptyRequestHeader(t *testing.T) { function TestMapInputOutput (line 242) | func TestMapInputOutput(t *testing.T) { FILE: json/retry_test.go function TestRetryJSONCall (line 35) | func TestRetryJSONCall(t *testing.T) { function TestRetryJSONNoConnect (line 60) | func TestRetryJSONNoConnect(t *testing.T) { FILE: json/tracing_test.go type JSONHandler (line 14) | type JSONHandler struct method firstCall (line 19) | func (h *JSONHandler) firstCall(ctx context.Context, req *TracingReque... method callJSON (line 29) | func (h *JSONHandler) callJSON(ctx json.Context, req *TracingRequest) ... method onError (line 42) | func (h *JSONHandler) onError(ctx context.Context, err error) { h.t.Er... function TestJSONTracingPropagation (line 44) | func TestJSONTracingPropagation(t *testing.T) { FILE: largereq_test.go function TestLargeRequest (line 37) | func TestLargeRequest(t *testing.T) { FILE: localip.go function scoreAddr (line 34) | func scoreAddr(iface net.Interface, addr net.Addr) (int, net.IP) { function listenIP (line 60) | func listenIP(interfaces []net.Interface) (net.IP, error) { function ListenIP (line 89) | func ListenIP() (net.IP, error) { function mustParseMAC (line 97) | func mustParseMAC(s string) net.HardwareAddr { function isLocalMacAddr (line 107) | func isLocalMacAddr(addr net.HardwareAddr) bool { FILE: localip_test.go function TestScoreAddr (line 30) | func TestScoreAddr(t *testing.T) { FILE: logger.go type Logger (line 38) | type Logger interface type LogField (line 71) | type LogField struct function ErrField (line 77) | func ErrField(err error) LogField { type LogFields (line 82) | type LogFields type nullLogger (line 87) | type nullLogger struct method Enabled (line 91) | func (nullLogger) Enabled(_ LogLevel) bool { return fal... method Fatal (line 92) | func (nullLogger) Fatal(msg string) { os.Exit(1) } method Error (line 93) | func (nullLogger) Error(msg string) {} method Warn (line 94) | func (nullLogger) Warn(msg string) {} method Infof (line 95) | func (nullLogger) Infof(msg string, args ...interface{}) {} method Info (line 96) | func (nullLogger) Info(msg string) {} method Debugf (line 97) | func (nullLogger) Debugf(msg string, args ...interface{}) {} method Debug (line 98) | func (nullLogger) Debug(msg string) {} method Fields (line 99) | func (l nullLogger) Fields() LogFields { return l.f... method WithFields (line 101) | func (l nullLogger) WithFields(fields ...LogField) Logger { type writerLogger (line 111) | type writerLogger struct method Fatal (line 123) | func (l writerLogger) Fatal(msg string) { method Enabled (line 128) | func (l writerLogger) Enabled(_ LogLevel) bool { return... method Error (line 129) | func (l writerLogger) Error(msg string) { l.prin... method Warn (line 130) | func (l writerLogger) Warn(msg string) { l.prin... method Infof (line 131) | func (l writerLogger) Infof(msg string, args ...interface{}) { l.prin... method Info (line 132) | func (l writerLogger) Info(msg string) { l.prin... method Debugf (line 133) | func (l writerLogger) Debugf(msg string, args ...interface{}) { l.prin... method Debug (line 134) | func (l writerLogger) Debug(msg string) { l.prin... method printfn (line 135) | func (l writerLogger) printfn(prefix, msg string, args ...interface{}) { method Fields (line 139) | func (l writerLogger) Fields() LogFields { method WithFields (line 143) | func (l writerLogger) WithFields(newFields ...LogField) Logger { constant writerLoggerStamp (line 116) | writerLoggerStamp = "15:04:05.000000" function NewLogger (line 119) | func NewLogger(writer io.Writer, fields ...LogField) Logger { type LogLevel (line 152) | type LogLevel constant LogLevelAll (line 156) | LogLevelAll LogLevel = iota constant LogLevelDebug (line 157) | LogLevelDebug constant LogLevelInfo (line 158) | LogLevelInfo constant LogLevelWarn (line 159) | LogLevelWarn constant LogLevelError (line 160) | LogLevelError constant LogLevelFatal (line 161) | LogLevelFatal type levelLogger (line 164) | type levelLogger struct method Enabled (line 174) | func (l levelLogger) Enabled(level LogLevel) bool { method Fatal (line 178) | func (l levelLogger) Fatal(msg string) { method Error (line 184) | func (l levelLogger) Error(msg string) { method Warn (line 190) | func (l levelLogger) Warn(msg string) { method Infof (line 196) | func (l levelLogger) Infof(msg string, args ...interface{}) { method Info (line 202) | func (l levelLogger) Info(msg string) { method Debugf (line 208) | func (l levelLogger) Debugf(msg string, args ...interface{}) { method Debug (line 214) | func (l levelLogger) Debug(msg string) { method Fields (line 220) | func (l levelLogger) Fields() LogFields { method WithFields (line 224) | func (l levelLogger) WithFields(fields ...LogField) Logger { function NewLevelLogger (line 170) | func NewLevelLogger(logger Logger, level LogLevel) Logger { FILE: logger_test.go function field (line 33) | func field(k string, v interface{}) LogField { function TestErrField (line 37) | func TestErrField(t *testing.T) { function TestWriterLogger (line 41) | func TestWriterLogger(t *testing.T) { function TestWriterLoggerNoSubstitution (line 83) | func TestWriterLoggerNoSubstitution(t *testing.T) { function TestLevelLogger (line 129) | func TestLevelLogger(t *testing.T) { FILE: messages.go type messageType (line 30) | type messageType constant messageTypeInitReq (line 33) | messageTypeInitReq messageType = 0x01 constant messageTypeInitRes (line 34) | messageTypeInitRes messageType = 0x02 constant messageTypeCallReq (line 35) | messageTypeCallReq messageType = 0x03 constant messageTypeCallRes (line 36) | messageTypeCallRes messageType = 0x04 constant messageTypeCallReqContinue (line 37) | messageTypeCallReqContinue messageType = 0x13 constant messageTypeCallResContinue (line 38) | messageTypeCallResContinue messageType = 0x14 constant messageTypeCancel (line 39) | messageTypeCancel messageType = 0xC0 constant messageTypePingReq (line 40) | messageTypePingReq messageType = 0xd0 constant messageTypePingRes (line 41) | messageTypePingRes messageType = 0xd1 constant messageTypeError (line 42) | messageTypeError messageType = 0xFF type message (line 49) | type message interface type noBodyMsg (line 63) | type noBodyMsg struct method read (line 65) | func (noBodyMsg) read(r *typed.ReadBuffer) error { return nil } method write (line 66) | func (noBodyMsg) write(w *typed.WriteBuffer) error { return nil } type initParams (line 69) | type initParams constant InitParamHostPort (line 73) | InitParamHostPort = "host_port" constant InitParamProcessName (line 75) | InitParamProcessName = "process_name" constant InitParamTChannelLanguage (line 77) | InitParamTChannelLanguage = "tchannel_language" constant InitParamTChannelLanguageVersion (line 79) | InitParamTChannelLanguageVersion = "tchannel_language_version" constant InitParamTChannelVersion (line 81) | InitParamTChannelVersion = "tchannel_version" type initMessage (line 85) | type initMessage struct method read (line 91) | func (m *initMessage) read(r *typed.ReadBuffer) error { method write (line 105) | func (m *initMessage) write(w *typed.WriteBuffer) error { method ID (line 117) | func (m *initMessage) ID() uint32 { type initReq (line 122) | type initReq struct method messageType (line 126) | func (m *initReq) messageType() messageType { return messageTypeInitReq } type initRes (line 129) | type initRes struct method messageType (line 133) | func (m *initRes) messageType() messageType { return messageTypeInitRes } type TransportHeaderName (line 136) | type TransportHeaderName method String (line 138) | func (cn TransportHeaderName) String() string { return string(cn) } constant ArgScheme (line 145) | ArgScheme TransportHeaderName = "as" constant CallerName (line 148) | CallerName TransportHeaderName = "cn" constant ClaimAtFinish (line 152) | ClaimAtFinish TransportHeaderName = "caf" constant ClaimAtStart (line 156) | ClaimAtStart TransportHeaderName = "cas" constant FailureDomain (line 160) | FailureDomain TransportHeaderName = "fd" constant ShardKey (line 163) | ShardKey TransportHeaderName = "sk" constant RetryFlags (line 166) | RetryFlags TransportHeaderName = "re" constant SpeculativeExecution (line 169) | SpeculativeExecution TransportHeaderName = "se" constant RoutingDelegate (line 173) | RoutingDelegate TransportHeaderName = "rd" constant RoutingKey (line 178) | RoutingKey TransportHeaderName = "rk" type transportHeaders (line 182) | type transportHeaders method read (line 184) | func (ch transportHeaders) read(r *typed.ReadBuffer) { method write (line 193) | func (ch transportHeaders) write(w *typed.WriteBuffer) { type callReq (line 203) | type callReq struct method ID (line 211) | func (m *callReq) ID() uint32 { return m.id } method messageType (line 212) | func (m *callReq) messageType() messageType { return messageTypeCallReq } method read (line 213) | func (m *callReq) read(r *typed.ReadBuffer) error { method write (line 222) | func (m *callReq) write(w *typed.WriteBuffer) error { type callReqContinue (line 231) | type callReqContinue struct method ID (line 236) | func (c *callReqContinue) ID() uint32 { return c.id } method messageType (line 237) | func (c *callReqContinue) messageType() messageType { return messageTy... type ResponseCode (line 240) | type ResponseCode constant responseOK (line 243) | responseOK ResponseCode = 0x00 constant responseApplicationError (line 244) | responseApplicationError ResponseCode = 0x01 type callRes (line 248) | type callRes struct method ID (line 255) | func (m *callRes) ID() uint32 { return m.id } method messageType (line 256) | func (m *callRes) messageType() messageType { return messageTypeCallRes } method read (line 258) | func (m *callRes) read(r *typed.ReadBuffer) error { method write (line 266) | func (m *callRes) write(w *typed.WriteBuffer) error { type callResContinue (line 274) | type callResContinue struct method ID (line 278) | func (c *callResContinue) ID() uint32 { return c... method messageType (line 279) | func (c *callResContinue) messageType() messageType { return m... method read (line 280) | func (c *callResContinue) read(r *typed.ReadBuffer) error { return n... method write (line 281) | func (c *callResContinue) write(w *typed.WriteBuffer) error { return n... type errorMessage (line 284) | type errorMessage struct method ID (line 291) | func (m *errorMessage) ID() uint32 { return m.id } method messageType (line 292) | func (m *errorMessage) messageType() messageType { return messageTypeE... method read (line 293) | func (m *errorMessage) read(r *typed.ReadBuffer) error { method write (line 300) | func (m *errorMessage) write(w *typed.WriteBuffer) error { method AsSystemError (line 307) | func (m errorMessage) AsSystemError() error { method Error (line 313) | func (m errorMessage) Error() string { type cancelMessage (line 317) | type cancelMessage struct method ID (line 324) | func (m *cancelMessage) ID() uint32 { return m.id } method messageType (line 325) | func (m *cancelMessage) messageType() messageType { return messageType... method read (line 326) | func (m *cancelMessage) read(r *typed.ReadBuffer) error { method write (line 333) | func (m *cancelMessage) write(w *typed.WriteBuffer) error { method AsSystemError (line 340) | func (m *cancelMessage) AsSystemError() error { type pingReq (line 344) | type pingReq struct method ID (line 349) | func (c *pingReq) ID() uint32 { return c.id } method messageType (line 350) | func (c *pingReq) messageType() messageType { return messageTypePingReq } type pingRes (line 353) | type pingRes struct method ID (line 358) | func (c *pingRes) ID() uint32 { return c.id } method messageType (line 359) | func (c *pingRes) messageType() messageType { return messageTypePingRes } function callReqSpan (line 361) | func callReqSpan(f *Frame) Span { FILE: messages_test.go function TestInitReq (line 35) | func TestInitReq(t *testing.T) { function TestInitRes (line 52) | func TestInitRes(t *testing.T) { function TestCallReq (line 69) | func TestCallReq(t *testing.T) { function TestCallReqContinue (line 91) | func TestCallReqContinue(t *testing.T) { function TestCallRes (line 101) | func TestCallRes(t *testing.T) { function TestCallResContinue (line 122) | func TestCallResContinue(t *testing.T) { function TestErrorMessage (line 132) | func TestErrorMessage(t *testing.T) { function assertRoundTrip (line 142) | func assertRoundTrip(t *testing.T, expected message, actual message) { FILE: messagetype_string.go function _ (line 7) | func _() { constant _messageType_name_0 (line 24) | _messageType_name_0 = "messageTypeInitReqmessageTypeInitResmessageTypeCa... constant _messageType_name_1 (line 25) | _messageType_name_1 = "messageTypeCallReqContinuemessageTypeCallResConti... constant _messageType_name_2 (line 26) | _messageType_name_2 = "messageTypeCancel" constant _messageType_name_3 (line 27) | _messageType_name_3 = "messageTypePingReqmessageTypePingRes" constant _messageType_name_4 (line 28) | _messageType_name_4 = "messageTypeError" method String (line 37) | func (i messageType) String() string { FILE: mex.go constant messageExchangeSetInbound (line 43) | messageExchangeSetInbound = "inbound" constant messageExchangeSetOutbound (line 44) | messageExchangeSetOutbound = "outbound" constant mexChannelBufferSize (line 47) | mexChannelBufferSize = 2 type errNotifier (line 50) | type errNotifier struct method Notify (line 61) | func (e *errNotifier) Notify(err error) error { method checkErr (line 78) | func (e *errNotifier) checkErr() error { function newErrNotifier (line 56) | func newErrNotifier() errNotifier { type messageExchange (line 91) | type messageExchange struct method checkError (line 107) | func (mex *messageExchange) checkError() error { method forwardPeerFrame (line 117) | func (mex *messageExchange) forwardPeerFrame(frame *Frame) error { method handleCancel (line 147) | func (mex *messageExchange) handleCancel(_ *Frame) { method checkFrame (line 153) | func (mex *messageExchange) checkFrame(frame *Frame) error { method recvPeerFrame (line 166) | func (mex *messageExchange) recvPeerFrame() (*Frame, error) { method recvPeerFrameOfType (line 205) | func (mex *messageExchange) recvPeerFrameOfType(msgType messageType) (... method onCtxErr (line 240) | func (mex *messageExchange) onCtxErr(err error) { method shutdown (line 255) | func (mex *messageExchange) shutdown() { method inboundExpired (line 274) | func (mex *messageExchange) inboundExpired() { type messageExchangeSet (line 286) | type messageExchangeSet struct method addExchange (line 312) | func (mexset *messageExchangeSet) addExchange(mex *messageExchange) er... method newExchange (line 326) | func (mexset *messageExchangeSet) newExchange(ctx context.Context, ctx... method deleteExchange (line 370) | func (mexset *messageExchangeSet) deleteExchange(msgID uint32) (found,... method removeExchange (line 385) | func (mexset *messageExchangeSet) removeExchange(msgID uint32) { method expireExchange (line 408) | func (mexset *messageExchangeSet) expireExchange(msgID uint32) { method count (line 431) | func (mexset *messageExchangeSet) count() int { method forwardPeerFrame (line 441) | func (mexset *messageExchangeSet) forwardPeerFrame(frame *Frame) error { method handleCancel (line 472) | func (mexset *messageExchangeSet) handleCancel(frame *Frame) { method copyExchanges (line 495) | func (mexset *messageExchangeSet) copyExchanges() (shutdown bool, exch... method stopExchanges (line 510) | func (mexset *messageExchangeSet) stopExchanges(err error) { function newMessageExchangeSet (line 302) | func newMessageExchangeSet(log Logger, name string) *messageExchangeSet { FILE: mex_utils_test.go function CheckEmptyExchangesConn (line 30) | func CheckEmptyExchangesConn(c *ConnectionRuntimeState) string { function CheckEmptyExchangesConns (line 50) | func CheckEmptyExchangesConns(connections []*ConnectionRuntimeState) str... function CheckEmptyExchanges (line 64) | func CheckEmptyExchanges(ch *Channel) string { FILE: outbound.go constant maxMethodSize (line 35) | maxMethodSize = 16 * 1024 method beginCall (line 38) | func (c *Connection) beginCall(ctx context.Context, serviceName, methodN... method outboundCtxCancel (line 140) | func (c *Connection) outboundCtxCancel() { method handleCallRes (line 148) | func (c *Connection) handleCallRes(frame *Frame) bool { method handleCallResContinue (line 157) | func (c *Connection) handleCallResContinue(frame *Frame) bool { type OutboundCall (line 168) | type OutboundCall struct method Response (line 179) | func (call *OutboundCall) Response() *OutboundCallResponse { method createStatsTags (line 184) | func (call *OutboundCall) createStatsTags(connectionTags map[string]st... method writeMethod (line 197) | func (call *OutboundCall) writeMethod(method []byte) error { method Arg2Writer (line 204) | func (call *OutboundCall) Arg2Writer() (ArgWriter, error) { method Arg3Writer (line 210) | func (call *OutboundCall) Arg3Writer() (ArgWriter, error) { method LocalPeer (line 215) | func (call *OutboundCall) LocalPeer() LocalPeerInfo { method RemotePeer (line 220) | func (call *OutboundCall) RemotePeer() PeerInfo { method doneSending (line 224) | func (call *OutboundCall) doneSending() {} type OutboundCallResponse (line 227) | type OutboundCallResponse struct method ApplicationError (line 245) | func (response *OutboundCallResponse) ApplicationError() bool { method Format (line 251) | func (response *OutboundCallResponse) Format() Format { method Arg2Reader (line 257) | func (response *OutboundCallResponse) Arg2Reader() (ArgReader, error) { method Arg3Reader (line 268) | func (response *OutboundCallResponse) Arg3Reader() (ArgReader, error) { method doneReading (line 326) | func (response *OutboundCallResponse) doneReading(unexpected error) { method handleError (line 278) | func (c *Connection) handleError(frame *Frame) bool { function cloneTags (line 316) | func cloneTags(tags map[string]string) map[string]string { function validateCall (line 371) | func validateCall(ctx context.Context, serviceName, methodName string, c... FILE: peer.go type Connectable (line 55) | type Connectable interface type PeerList (line 63) | type PeerList struct method SetStrategy (line 83) | func (l *PeerList) SetStrategy(sc ScoreCalculator) { method newSibling (line 96) | func (l *PeerList) newSibling() *PeerList { method Add (line 102) | func (l *PeerList) Add(hostPort string) *Peer { method GetNew (line 124) | func (l *PeerList) GetNew(prevSelected map[string]struct{}) (*Peer, er... method Get (line 145) | func (l *PeerList) Get(prevSelected map[string]struct{}) (*Peer, error) { method Remove (line 162) | func (l *PeerList) Remove(hostPort string) error { method choosePeer (line 177) | func (l *PeerList) choosePeer(prevSelected map[string]struct{}, avoidH... method GetOrAdd (line 218) | func (l *PeerList) GetOrAdd(hostPort string) *Peer { method Copy (line 224) | func (l *PeerList) Copy() map[string]*Peer { method Len (line 236) | func (l *PeerList) Len() int { method exists (line 243) | func (l *PeerList) exists(hostPort string) (*peerScore, bool) { method getPeerScore (line 253) | func (l *PeerList) getPeerScore(hostPort string) (*peerScore, uint64, ... method onPeerChange (line 263) | func (l *PeerList) onPeerChange(p *Peer) { method updatePeer (line 284) | func (l *PeerList) updatePeer(ps *peerScore, newScore uint64) { function newPeerList (line 73) | func newPeerList(root *RootPeerList) *PeerList { type peerScore (line 295) | type peerScore struct function newPeerScore (line 307) | func newPeerScore(p *Peer, score uint64) *peerScore { type Peer (line 316) | type Peer struct method HostPort (line 353) | func (p *Peer) HostPort() string { method getConn (line 359) | func (p *Peer) getConn(i int) *Connection { method getActiveConnLocked (line 368) | func (p *Peer) getActiveConnLocked() (*Connection, bool) { method getActiveConn (line 393) | func (p *Peer) getActiveConn() (*Connection, bool) { method GetConnection (line 403) | func (p *Peer) GetConnection(ctx context.Context) (*Connection, error) { method getConnectionRelay (line 423) | func (p *Peer) getConnectionRelay(callTimeout, relayMaxConnTimeout tim... method addSC (line 454) | func (p *Peer) addSC() { method delSC (line 461) | func (p *Peer) delSC() { method canRemove (line 468) | func (p *Peer) canRemove() bool { method addConnection (line 477) | func (p *Peer) addConnection(c *Connection, direction connectionDirect... method connectionsFor (line 494) | func (p *Peer) connectionsFor(direction connectionDirection) *[]*Conne... method removeConnection (line 503) | func (p *Peer) removeConnection(connsPtr *[]*Connection, changed *Conn... method connectionCloseStateChange (line 521) | func (p *Peer) connectionCloseStateChange(changed *Connection) { method Connect (line 541) | func (p *Peer) Connect(ctx context.Context) (*Connection, error) { method BeginCall (line 547) | func (p *Peer) BeginCall(ctx context.Context, serviceName, methodName ... method NumConnections (line 571) | func (p *Peer) NumConnections() (inbound int, outbound int) { method NumPendingOutbound (line 580) | func (p *Peer) NumPendingOutbound() int { method runWithConnections (line 594) | func (p *Peer) runWithConnections(f func(*Connection)) { method callOnUpdateComplete (line 606) | func (p *Peer) callOnUpdateComplete() { function newPeer (line 337) | func newPeer(channel Connectable, hostPort string, onStatusChanged func(... function noopOnStatusChanged (line 616) | func noopOnStatusChanged(*Peer) {} function isEphemeralHostPort (line 619) | func isEphemeralHostPort(hostPort string) bool { FILE: peer_bench_test.go function benchmarkGetConnection (line 34) | func benchmarkGetConnection(b *testing.B, numIncoming, numOutgoing int) { function BenchmarkGetConnection0In1Out (line 59) | func BenchmarkGetConnection0In1Out(b *testing.B) { benchmarkGetConnectio... function BenchmarkGetConnection1In0Out (line 60) | func BenchmarkGetConnection1In0Out(b *testing.B) { benchmarkGetConnectio... function BenchmarkGetConnection5In5Out (line 61) | func BenchmarkGetConnection5In5Out(b *testing.B) { benchmarkGetConnectio... FILE: peer_heap.go type peerHeap (line 32) | type peerHeap struct method Len (line 42) | func (ph peerHeap) Len() int { return len(ph.peerScores) } method Less (line 44) | func (ph *peerHeap) Less(i, j int) bool { method Swap (line 51) | func (ph peerHeap) Swap(i, j int) { method Push (line 58) | func (ph *peerHeap) Push(x interface{}) { method Pop (line 66) | func (ph *peerHeap) Pop() interface{} { method updatePeer (line 76) | func (ph *peerHeap) updatePeer(peerScore *peerScore) { method removePeer (line 81) | func (ph *peerHeap) removePeer(peerScore *peerScore) { method popPeer (line 86) | func (ph *peerHeap) popPeer() *peerScore { method pushPeer (line 91) | func (ph *peerHeap) pushPeer(peerScore *peerScore) { method swapOrder (line 100) | func (ph *peerHeap) swapOrder(i, j int) { method addPeer (line 111) | func (ph *peerHeap) addPeer(peerScore *peerScore) { method peek (line 120) | func (ph *peerHeap) peek() *peerScore { function newPeerHeap (line 38) | func newPeerHeap() *peerHeap { FILE: peer_heap_test.go function TestPeerHeap (line 32) | func TestPeerHeap(t *testing.T) { FILE: peer_internal_test.go function TestIsEphemeralHostPort (line 29) | func TestIsEphemeralHostPort(t *testing.T) { FILE: peer_strategies.go type ScoreCalculator (line 26) | type ScoreCalculator interface type ScoreCalculatorFunc (line 31) | type ScoreCalculatorFunc method GetScore (line 34) | func (f ScoreCalculatorFunc) GetScore(p *Peer) uint64 { type zeroCalculator (line 38) | type zeroCalculator struct method GetScore (line 40) | func (zeroCalculator) GetScore(p *Peer) uint64 { function newZeroCalculator (line 44) | func newZeroCalculator() zeroCalculator { type leastPendingCalculator (line 48) | type leastPendingCalculator struct method GetScore (line 50) | func (leastPendingCalculator) GetScore(p *Peer) uint64 { function newLeastPendingCalculator (line 62) | func newLeastPendingCalculator() leastPendingCalculator { type preferIncomingCalculator (line 66) | type preferIncomingCalculator struct method GetScore (line 68) | func (preferIncomingCalculator) GetScore(p *Peer) uint64 { function newPreferIncomingCalculator (line 87) | func newPreferIncomingCalculator() preferIncomingCalculator { FILE: peer_test.go function fakePeer (line 41) | func fakePeer(t *testing.T, ch *Channel, hostPort string) *Peer { function assertNumConnections (line 55) | func assertNumConnections(t *testing.T, peer *Peer, in, out int) { function TestGetPeerNoPeer (line 61) | func TestGetPeerNoPeer(t *testing.T) { function TestGetPeerSinglePeer (line 69) | func TestGetPeerSinglePeer(t *testing.T) { function TestPeerUpdatesLen (line 79) | func TestPeerUpdatesLen(t *testing.T) { function TestGetPeerAvoidPrevSelected (line 94) | func TestGetPeerAvoidPrevSelected(t *testing.T) { function TestPeerRemoveClosedConnection (line 191) | func TestPeerRemoveClosedConnection(t *testing.T) { function TestPeerConnectCancelled (line 219) | func TestPeerConnectCancelled(t *testing.T) { function TestPeerGetConnectionWithNoActiveConnections (line 230) | func TestPeerGetConnectionWithNoActiveConnections(t *testing.T) { function TestInboundEphemeralPeerRemoved (line 272) | func TestInboundEphemeralPeerRemoved(t *testing.T) { function TestOutboundEphemeralPeerRemoved (line 299) | func TestOutboundEphemeralPeerRemoved(t *testing.T) { function TestOutboundPeerNotAdded (line 319) | func TestOutboundPeerNotAdded(t *testing.T) { function TestRemovePeerNotFound (line 338) | func TestRemovePeerNotFound(t *testing.T) { function TestPeerRemovedFromRootPeers (line 348) | func TestPeerRemovedFromRootPeers(t *testing.T) { function TestPeerSelectionConnClosed (line 399) | func TestPeerSelectionConnClosed(t *testing.T) { function TestPeerSelectionPreferIncoming (line 426) | func TestPeerSelectionPreferIncoming(t *testing.T) { type peerTest (line 575) | type peerTest struct method NewService (line 581) | func (pt *peerTest) NewService(t testing.TB, svcName, processName stri... method CleanUp (line 589) | func (pt *peerTest) CleanUp() { function TestPeerSelection (line 595) | func TestPeerSelection(t *testing.T) { function getAllPeers (line 617) | func getAllPeers(t *testing.T, pl *PeerList) []string { function reverse (line 637) | func reverse(s []string) { function TestIsolatedPeerHeap (line 644) | func TestIsolatedPeerHeap(t *testing.T) { function TestPeerSelectionRanking (line 667) | func TestPeerSelectionRanking(t *testing.T) { function createScoreStrategy (line 700) | func createScoreStrategy(initial, delta int64) (calc ScoreCalculator, re... function createSubChannelWNewStrategy (line 712) | func createSubChannelWNewStrategy(ch *Channel, name string, initial, del... function testDistribution (line 720) | func testDistribution(t testing.TB, counts map[string]int, min, max floa... function waitTillNConnections (line 731) | func waitTillNConnections(t *testing.T, ch *Channel, hostPort string, in... function waitTillInboundEmpty (line 767) | func waitTillInboundEmpty(t *testing.T, ch *Channel, hostPort string, f ... type peerSelectionTest (line 771) | type peerSelectionTest struct method setup (line 791) | func (pt *peerSelectionTest) setup(t testing.TB) { method setupServers (line 798) | func (pt *peerSelectionTest) setupServers(t testing.TB) { method setupAffinity (line 808) | func (pt *peerSelectionTest) setupAffinity(t testing.TB) { method setupClient (line 844) | func (pt *peerSelectionTest) setupClient(t testing.TB) { method makeCall (line 852) | func (pt *peerSelectionTest) makeCall(sc *SubChannel) { method sendPing (line 859) | func (pt *peerSelectionTest) sendPing(ch *Channel, hostport string) { method runStressSimple (line 866) | func (pt *peerSelectionTest) runStressSimple(b *testing.B) { method runStress (line 884) | func (pt *peerSelectionTest) runStress() { function BenchmarkSimplePeerHeapPerf (line 944) | func BenchmarkSimplePeerHeapPerf(b *testing.B) { function TestPeerHeapPerf (line 956) | func TestPeerHeapPerf(t *testing.T) { function peerHeapStress (line 990) | func peerHeapStress(t testing.TB, numserver int, affinityRatio float64, ... function validateStressTest (line 1005) | func validateStressTest(t testing.TB, server *Channel, numAffinity int, ... function TestPeerSelectionAfterClosed (line 1028) | func TestPeerSelectionAfterClosed(t *testing.T) { function TestPeerScoreOnNewConnection (line 1051) | func TestPeerScoreOnNewConnection(t *testing.T) { function TestConnectToPeerHostPortMismatch (line 1106) | func TestConnectToPeerHostPortMismatch(t *testing.T) { function TestPeerConnectionsClosing (line 1128) | func TestPeerConnectionsClosing(t *testing.T) { function BenchmarkAddPeers (line 1169) | func BenchmarkAddPeers(b *testing.B) { function TestPeerSelectionStrategyChange (line 1179) | func TestPeerSelectionStrategyChange(t *testing.T) { function createConstScoreStrategy (line 1197) | func createConstScoreStrategy(score uint64) (calc ScoreCalculator) { FILE: peers/prefer.go type hrwScoreCalc (line 25) | type hrwScoreCalc struct method GetScore (line 40) | func (s *hrwScoreCalc) GetScore(p *tchannel.Peer) uint64 { function NewHRWScorer (line 36) | func NewHRWScorer(clientID uint32) tchannel.ScoreCalculator { function mod2_31 (line 49) | func mod2_31(v uint32) uint32 { function fnv32a (line 58) | func fnv32a(s string) uint32 { FILE: peers/prefer_test.go function TestHRWScorerGetScore (line 39) | func TestHRWScorerGetScore(t *testing.T) { function TestHRWScorerDistribution (line 49) | func TestHRWScorerDistribution(t *testing.T) { function countingServer (line 86) | func countingServer(t *testing.T, opts *testutils.ChannelOpts) (*tchanne... function TestHRWScorerIntegration (line 93) | func TestHRWScorerIntegration(t *testing.T) { function stdFnv32a (line 163) | func stdFnv32a(s string) uint32 { function TestFnv32a (line 169) | func TestFnv32a(t *testing.T) { function BenchmarkHrwScoreCalc (line 181) | func BenchmarkHrwScoreCalc(b *testing.B) { FILE: pprof/pprof.go function serveHTTP (line 33) | func serveHTTP(req *http.Request, response *tchannel.InboundCallResponse) { function Register (line 41) | func Register(registrar tchannel.Registrar) { FILE: pprof/pprof_test.go function TestPProfEndpoint (line 37) | func TestPProfEndpoint(t *testing.T) { FILE: preinit_connection.go method outboundHandshake (line 35) | func (ch *Channel) outboundHandshake(ctx context.Context, c net.Conn, ou... method inboundHandshake (line 73) | func (ch *Channel) inboundHandshake(ctx context.Context, c net.Conn, eve... method getInitParams (line 104) | func (ch *Channel) getInitParams() initParams { method getInitMessage (line 115) | func (ch *Channel) getInitMessage(ctx context.Context, id uint32) initMe... method initError (line 128) | func (ch *Channel) initError(c net.Conn, connDir connectionDirection, id... method writeMessage (line 155) | func (ch *Channel) writeMessage(c net.Conn, msg message) error { method readMessage (line 165) | func (ch *Channel) readMessage(c net.Conn, msg message) (uint32, error) { function parseRemotePeer (line 183) | func parseRemotePeer(p initParams, remoteAddr net.Addr) (PeerInfo, peerA... function setInitDeadline (line 230) | func setInitDeadline(ctx context.Context, c net.Conn) func() { function readError (line 242) | func readError(frame *Frame) error { function unsupportedProtocolVersion (line 253) | func unsupportedProtocolVersion(got uint16) error { FILE: raw/call.go function ReadArgsV2 (line 35) | func ReadArgsV2(r tchannel.ArgReadable) ([]byte, []byte, error) { function WriteArgs (line 50) | func WriteArgs(call *tchannel.OutboundCall, arg2, arg3 []byte) ([]byte, ... function Call (line 74) | func Call(ctx context.Context, ch *tchannel.Channel, hostPort string, se... function CallSC (line 86) | func CallSC(ctx context.Context, sc *tchannel.SubChannel, method string,... type CArgs (line 98) | type CArgs struct type CRes (line 106) | type CRes struct function CallV2 (line 113) | func CallV2(ctx context.Context, sc *tchannel.SubChannel, cArgs CArgs) (... FILE: raw/handler.go type Handler (line 30) | type Handler interface type Args (line 38) | type Args struct type Res (line 47) | type Res struct function ReadArgs (line 56) | func ReadArgs(call *tchannel.InboundCall) (*Args, error) { function WriteResponse (line 71) | func WriteResponse(response *tchannel.InboundCallResponse, resp *Res) er... function Wrap (line 87) | func Wrap(handler Handler) tchannel.Handler { FILE: relay.go constant _defaultRelayMaxTombs (line 41) | _defaultRelayMaxTombs = 3e4 constant _relayTombTTL (line 43) | _relayTombTTL = 3 * time.Second constant _defaultRelayMaxTimeout (line 45) | _defaultRelayMaxTimeout = 2 * time.Minute constant _relayErrorNotFound (line 50) | _relayErrorNotFound = "relay-not-found" constant _relayErrorDestConnSlow (line 51) | _relayErrorDestConnSlow = "relay-dest-conn-slow" constant _relayErrorSourceConnSlow (line 52) | _relayErrorSourceConnSlow = "relay-source-conn-slow" constant _relayArg2ModifyFailed (line 53) | _relayArg2ModifyFailed = "relay-arg2-modify-failed" constant _relayNoRelease (line 59) | _relayNoRelease = false constant _relayShouldRelease (line 60) | _relayShouldRelease = true type relayItem (line 74) | type relayItem struct method reportRelayBytes (line 110) | func (ri *relayItem) reportRelayBytes(fType frameType, frameSize uint1... type relayItems (line 85) | type relayItems struct method Count (line 119) | func (r *relayItems) Count() int { method Get (line 129) | func (r *relayItems) Get(id uint32, stopTimeout bool) (_ relayItem, st... method Add (line 146) | func (r *relayItems) Add(id uint32, item relayItem) { method Delete (line 155) | func (r *relayItems) Delete(id uint32) (relayItem, bool) { method Entomb (line 176) | func (r *relayItems) Entomb(id uint32, deleteAfter time.Duration) (rel... type frameReceiver (line 95) | type frameReceiver interface function newRelayItems (line 99) | func newRelayItems(logger Logger, maxTombs uint64) *relayItems { type frameType (line 205) | type frameType constant requestFrame (line 208) | requestFrame frameType = 0 constant responseFrame (line 209) | responseFrame frameType = 1 type Relayer (line 215) | type Relayer struct method Relay (line 269) | func (r *Relayer) Relay(f *Frame) (shouldRelease bool, _ error) { method Receive (line 293) | func (r *Relayer) Receive(f *Frame, fType frameType) (sent bool, failu... method canHandleNewCall (line 371) | func (r *Relayer) canHandleNewCall() (bool, connectionState) { method getDestination (line 388) | func (r *Relayer) getDestination(f *lazyCallReq, call RelayCall) (*Con... method handleCallReq (line 426) | func (r *Relayer) handleCallReq(f *lazyCallReq) (shouldRelease bool, _... method handleNonCallReq (line 535) | func (r *Relayer) handleNonCallReq(f *Frame) (shouldRelease bool, _ er... method addRelayItem (line 597) | func (r *Relayer) addRelayItem(isOriginator bool, id, remapID uint32, ... method timeoutRelayItem (line 617) | func (r *Relayer) timeoutRelayItem(items *relayItems, id uint32, isOri... method failRelayItem (line 634) | func (r *Relayer) failRelayItem(items *relayItems, id uint32, reason s... method finishRelayItem (line 663) | func (r *Relayer) finishRelayItem(items *relayItems, id uint32) { method decrementPending (line 677) | func (r *Relayer) decrementPending() { method canClose (line 682) | func (r *Relayer) canClose() bool { method countPending (line 689) | func (r *Relayer) countPending() uint32 { method receiverItems (line 693) | func (r *Relayer) receiverItems(fType frameType) *relayItems { method handleLocalCallReq (line 700) | func (r *Relayer) handleLocalCallReq(cr *lazyCallReq) (shouldRelease b... method fragmentingSend (line 728) | func (r *Relayer) fragmentingSend(call RelayCall, f *lazyCallReq, rela... method updateMutatedCallReqContinueChecksum (line 763) | func (r *Relayer) updateMutatedCallReqContinueChecksum(f *Frame, cs Ch... method newFragmentSender (line 871) | func (r *Relayer) newFragmentSender(dstRelay frameReceiver, cr *lazyCa... function NewRelayer (line 246) | func NewRelayer(ch *Channel, conn *Connection) *Relayer { function writeArg2WithAppends (line 788) | func writeArg2WithAppends(w io.WriteCloser, arg2 []byte, appends []relay... function frameTypeFor (line 814) | func frameTypeFor(f *Frame) frameType { function determinesCallSuccess (line 825) | func determinesCallSuccess(f *Frame) (succeeded bool, failMsg string) { function validateRelayMaxTimeout (line 842) | func validateRelayMaxTimeout(d time.Duration, logger Logger) time.Durati... type sentBytesReporter (line 857) | type sentBytesReporter interface type relayFragmentSender (line 861) | type relayFragmentSender struct method newFragment (line 884) | func (rfs *relayFragmentSender) newFragment(initial bool, checksum Che... method flushFragment (line 931) | func (rfs *relayFragmentSender) flushFragment(wf *writableFragment) er... method doneSending (line 944) | func (rfs *relayFragmentSender) doneSending() {} FILE: relay/relay.go type KeyVal (line 35) | type KeyVal struct type CallFrame (line 41) | type CallFrame interface type RespFrame (line 71) | type RespFrame interface type Conn (line 86) | type Conn struct type RateLimitDropError (line 108) | type RateLimitDropError struct method Error (line 110) | func (e RateLimitDropError) Error() string { FILE: relay/relaytest/func_host.go type hostFunc (line 13) | type hostFunc struct method SetChannel (line 31) | func (hf *hostFunc) SetChannel(ch *tchannel.Channel) { method Start (line 36) | func (hf *hostFunc) Start(cf relay.CallFrame, conn *relay.Conn) (tchan... method Stats (line 48) | func (hf *hostFunc) Stats() *MockStats { type hostFuncPeer (line 19) | type hostFuncPeer struct method Destination (line 52) | func (p *hostFuncPeer) Destination() (*tchannel.Peer, bool) { method CallResponse (line 56) | func (p *hostFuncPeer) CallResponse(frame relay.RespFrame) { function HostFunc (line 27) | func HostFunc(fn func(relay.CallFrame, *relay.Conn) (string, error)) tch... FILE: relay/relaytest/mock_stats.go type MockCallStats (line 36) | type MockCallStats struct method Succeeded (line 49) | func (m *MockCallStats) Succeeded() { method Failed (line 54) | func (m *MockCallStats) Failed(reason string) { method SentBytes (line 59) | func (m *MockCallStats) SentBytes(size uint16) { method ReceivedBytes (line 64) | func (m *MockCallStats) ReceivedBytes(size uint16) { method End (line 69) | func (m *MockCallStats) End() { type FluentMockCallStats (line 75) | type FluentMockCallStats struct method Succeeded (line 80) | func (f *FluentMockCallStats) Succeeded() *FluentMockCallStats { method Failed (line 86) | func (f *FluentMockCallStats) Failed(reason string) *FluentMockCallSta... type MockStats (line 92) | type MockStats struct method Begin (line 106) | func (m *MockStats) Begin(f relay.CallFrame) *MockCallStats { method Add (line 111) | func (m *MockStats) Add(caller, callee, procedure string) *FluentMockC... method AssertEqual (line 122) | func (m *MockStats) AssertEqual(t testing.TB, expected *MockStats) { method WaitForEnd (line 139) | func (m *MockStats) WaitForEnd() { method assertEdgeEqual (line 143) | func (m *MockStats) assertEdgeEqual(t testing.TB, expected *MockStats,... method assertCallEqual (line 153) | func (m *MockStats) assertCallEqual(t testing.TB, expected *MockCallSt... method tripleToKey (line 173) | func (m *MockStats) tripleToKey(caller, callee, procedure string) stri... method Map (line 188) | func (m *MockStats) Map() map[string]int { function NewMockStats (line 99) | func NewMockStats() *MockStats { function getEdges (line 177) | func getEdges(m map[string][]*MockCallStats) []string { FILE: relay/relaytest/stub_host.go type StubRelayHost (line 35) | type StubRelayHost struct method SetFrameFn (line 58) | func (rh *StubRelayHost) SetFrameFn(f func(relay.CallFrame, *relay.Con... method SetRespFrameFn (line 63) | func (rh *StubRelayHost) SetRespFrameFn(f func(relay.RespFrame)) { method SetChannel (line 69) | func (rh *StubRelayHost) SetChannel(ch *tchannel.Channel) { method Start (line 74) | func (rh *StubRelayHost) Start(cf relay.CallFrame, conn *relay.Conn) (... method Add (line 89) | func (rh *StubRelayHost) Add(service, hostPort string) { method Stats (line 94) | func (rh *StubRelayHost) Stats() *MockStats { type stubCall (line 42) | type stubCall struct method Destination (line 99) | func (c *stubCall) Destination() (*tchannel.Peer, bool) { method CallResponse (line 103) | func (c *stubCall) CallResponse(frame relay.RespFrame) { function NewStubRelayHost (line 50) | func NewStubRelayHost() *StubRelayHost { FILE: relay_api.go type RelayHost (line 27) | type RelayHost interface type RelayCall (line 42) | type RelayCall interface FILE: relay_benchmark_test.go type benchmarkParams (line 17) | type benchmarkParams struct type workerControl (line 23) | type workerControl struct method WaitForStart (line 42) | func (c *workerControl) WaitForStart(f func()) { method WaitForEnd (line 48) | func (c *workerControl) WaitForEnd() { method WorkerStart (line 52) | func (c *workerControl) WorkerStart() { method WorkerDone (line 57) | func (c *workerControl) WorkerDone() { function init (line 29) | func init() { function newWorkerControl (line 33) | func newWorkerControl(numWorkers int) *workerControl { function defaultParams (line 61) | func defaultParams() benchmarkParams { function closeAndVerify (line 69) | func closeAndVerify(b *testing.B, ch *Channel) { function benchmarkRelay (line 79) | func benchmarkRelay(b *testing.B, p benchmarkParams) { function BenchmarkRelayNoLatencies (line 181) | func BenchmarkRelayNoLatencies(b *testing.B) { function BenchmarkRelay2Servers5Clients1k (line 218) | func BenchmarkRelay2Servers5Clients1k(b *testing.B) { function BenchmarkRelay4Servers20Clients1k (line 225) | func BenchmarkRelay4Servers20Clients1k(b *testing.B) { function BenchmarkRelay2Servers5Clients4k (line 232) | func BenchmarkRelay2Servers5Clients4k(b *testing.B) { function BenchmarkRelayAppends (line 240) | func BenchmarkRelayAppends(b *testing.B) { FILE: relay_fragment_sender_test.go type dummyFrameReceiver (line 15) | type dummyFrameReceiver struct method Receive (line 32) | func (d *dummyFrameReceiver) Receive(f *Frame, fType frameType) (sent ... function newDummyFrameReceiver (line 24) | func newDummyFrameReceiver(retSent bool, retFailureReason string, pool F... type noopSentReporter (line 45) | type noopSentReporter struct method SentBytes (line 47) | func (r *noopSentReporter) SentBytes(_ uint16) {} function TestRelayFragmentSender (line 49) | func TestRelayFragmentSender(t *testing.T) { type dummyArgWriter (line 110) | type dummyArgWriter struct method Write (line 117) | func (w *dummyArgWriter) Write(b []byte) (int, error) { method Close (line 127) | func (w *dummyArgWriter) Close() error { function TestWriteArg2WithAppends (line 134) | func TestWriteArg2WithAppends(t *testing.T) { FILE: relay_internal_test.go function TestFinishesCallResponses (line 12) | func TestFinishesCallResponses(t *testing.T) { function TestRelayTimerPoolMisuse (line 51) | func TestRelayTimerPoolMisuse(t *testing.T) { FILE: relay_messages.go constant _flagsIndex (line 46) | _flagsIndex = 0 constant _ttlIndex (line 50) | _ttlIndex int = 1 constant _ttlLen (line 51) | _ttlLen int = 4 constant _spanIndex (line 52) | _spanIndex int = _ttlIndex + _ttlLen constant _spanLength (line 53) | _spanLength int = 25 constant _serviceLenIndex (line 54) | _serviceLenIndex int = _spanIndex + _spanLength constant _serviceNameIndex (line 55) | _serviceNameIndex int = _serviceLenIndex + 1 constant _resCodeOK (line 58) | _resCodeOK = 0x00 constant _resCodeIndex (line 59) | _resCodeIndex int = 1 constant _errCodeIndex (line 62) | _errCodeIndex int = 0 type lazyError (line 65) | type lazyError struct method Code (line 76) | func (e lazyError) Code() SystemErrCode { function newLazyError (line 69) | func newLazyError(f *Frame) lazyError { type lazyCallRes (line 80) | type lazyCallRes struct method OK (line 140) | func (cr lazyCallRes) OK() bool { method ArgScheme (line 145) | func (cr lazyCallRes) ArgScheme() []byte { method Arg2IsFragmented (line 150) | func (cr lazyCallRes) Arg2IsFragmented() bool { method Arg2 (line 155) | func (cr lazyCallRes) Arg2() []byte { function newLazyCallRes (line 88) | func newLazyCallRes(f *Frame) (lazyCallRes, error) { type lazyCallReq (line 159) | type lazyCallReq struct method Caller (line 244) | func (f *lazyCallReq) Caller() []byte { method Service (line 249) | func (f *lazyCallReq) Service() []byte { method Method (line 255) | func (f *lazyCallReq) Method() []byte { method RoutingDelegate (line 260) | func (f *lazyCallReq) RoutingDelegate() []byte { method RoutingKey (line 265) | func (f *lazyCallReq) RoutingKey() []byte { method TTL (line 270) | func (f *lazyCallReq) TTL() time.Duration { method SetTTL (line 276) | func (f *lazyCallReq) SetTTL(d time.Duration) { method Span (line 282) | func (f *lazyCallReq) Span() Span { method HasMoreFragments (line 287) | func (f *lazyCallReq) HasMoreFragments() bool { method Arg2EndOffset (line 294) | func (f *lazyCallReq) Arg2EndOffset() (_ int, hasMore bool) { method Arg2StartOffset (line 300) | func (f *lazyCallReq) Arg2StartOffset() int { method arg2 (line 304) | func (f *lazyCallReq) arg2() []byte { method arg3 (line 308) | func (f *lazyCallReq) arg3() []byte { method Arg2Iterator (line 314) | func (f *lazyCallReq) Arg2Iterator() (arg2.KeyValIterator, error) { method Arg2Append (line 321) | func (f *lazyCallReq) Arg2Append(key, val []byte) { function newLazyCallReq (line 177) | func newLazyCallReq(f *Frame) (*lazyCallReq, error) { function finishesCall (line 327) | func finishesCall(f *Frame) bool { function isCallResOK (line 340) | func isCallResOK(f *Frame) bool { function hasMoreFragments (line 345) | func hasMoreFragments(f *Frame) bool { FILE: relay_messages_benchmark_test.go function BenchmarkCallReqFrame (line 29) | func BenchmarkCallReqFrame(b *testing.B) { FILE: relay_messages_test.go type testCallReq (line 41) | type testCallReq method req (line 77) | func (cr testCallReq) req(tb testing.TB) lazyCallReq { method reqWithParams (line 81) | func (cr testCallReq) reqWithParams(tb testing.TB, p testCallReqParams... method frameWithParams (line 87) | func (cr testCallReq) frameWithParams(t testing.TB, p testCallReqParam... constant reqHasHeaders (line 44) | reqHasHeaders testCallReq = (1 << iota) constant reqHasCaller (line 45) | reqHasCaller constant reqHasDelegate (line 46) | reqHasDelegate constant reqHasRoutingKey (line 47) | reqHasRoutingKey constant reqHasChecksum (line 48) | reqHasChecksum constant reqTotalCombinations (line 49) | reqTotalCombinations constant reqHasAll (line 50) | reqHasAll testCallReq = reqTotalCombinations - 1 constant exampleService (line 61) | exampleService = "fooservice" constant exampleArg3Data (line 62) | exampleArg3Data = "some arg3 data" type testCallReqParams (line 65) | type testCallReqParams struct function withLazyCallReqCombinations (line 158) | func withLazyCallReqCombinations(f func(cr testCallReq)) { type testCallRes (line 164) | type testCallRes method res (line 192) | func (cr testCallRes) res(tb testing.TB) lazyCallRes { type testCallResParams (line 166) | type testCallResParams struct constant resIsContinued (line 182) | resIsContinued testCallRes = (1 << iota) constant resIsOK (line 183) | resIsOK constant resHasHeaders (line 184) | resHasHeaders constant resHasChecksum (line 185) | resHasChecksum constant resIsThrift (line 186) | resIsThrift constant resHasArg2 (line 187) | resHasArg2 constant resHasFragmentedArg2 (line 188) | resHasFragmentedArg2 constant resTotalCombinations (line 189) | resTotalCombinations function withLazyCallResCombinations (line 227) | func withLazyCallResCombinations(t *testing.T, f func(t *testing.T, cr t... function newCallResFrame (line 235) | func newCallResFrame(tb testing.TB, p testCallResParams) *Frame { method fakeErrFrame (line 305) | func (ec SystemErrCode) fakeErrFrame() lazyError { function withLazyErrorCombinations (line 325) | func withLazyErrorCombinations(f func(ec SystemErrCode)) { function addRandomHeaders (line 342) | func addRandomHeaders(headers map[string]string) { function writeHeaders (line 348) | func writeHeaders(w *typed.WriteBuffer, headers map[string]string) { function assertWrappingPanics (line 356) | func assertWrappingPanics(t testing.TB, f *Frame, wrap func(f *Frame)) { function TestLazyCallReqRejectsOtherFrames (line 362) | func TestLazyCallReqRejectsOtherFrames(t *testing.T) { function TestLazyCallReqService (line 370) | func TestLazyCallReqService(t *testing.T) { function TestLazyCallReqCaller (line 377) | func TestLazyCallReqCaller(t *testing.T) { function TestLazyCallReqRoutingDelegate (line 388) | func TestLazyCallReqRoutingDelegate(t *testing.T) { function TestLazyCallReqRoutingKey (line 399) | func TestLazyCallReqRoutingKey(t *testing.T) { function TestLazyCallReqMethod (line 410) | func TestLazyCallReqMethod(t *testing.T) { function TestLazyCallReqTTL (line 417) | func TestLazyCallReqTTL(t *testing.T) { function TestLazyCallReqSetTTL (line 424) | func TestLazyCallReqSetTTL(t *testing.T) { function TestLazyCallArg2Offset (line 432) | func TestLazyCallArg2Offset(t *testing.T) { function TestLazyCallReqSetTChanThriftArg2 (line 520) | func TestLazyCallReqSetTChanThriftArg2(t *testing.T) { function TestLazyCallResRejectsOtherFrames (line 638) | func TestLazyCallResRejectsOtherFrames(t *testing.T) { function TestLazyCallRes (line 646) | func TestLazyCallRes(t *testing.T) { function TestNewLazyCallResCorruptedFrame (line 691) | func TestNewLazyCallResCorruptedFrame(t *testing.T) { function TestLazyErrorRejectsOtherFrames (line 700) | func TestLazyErrorRejectsOtherFrames(t *testing.T) { function TestLazyErrorCodes (line 708) | func TestLazyErrorCodes(t *testing.T) { function uint16KeyValToMap (line 716) | func uint16KeyValToMap(tb testing.TB, buffer []byte) map[string]string { function TestLazyCallReqContents (line 731) | func TestLazyCallReqContents(t *testing.T) { function TestLazyCallReqLargeService (line 752) | func TestLazyCallReqLargeService(t *testing.T) { FILE: relay_test.go type relayTest (line 55) | type relayTest struct function serviceNameOpts (line 59) | func serviceNameOpts(s string) *testutils.ChannelOpts { function withRelayedEcho (line 63) | func withRelayedEcho(t testing.TB, f func(relay, server, client *Channel... function TestRelay (line 75) | func TestRelay(t *testing.T) { function TestRelaySetHost (line 103) | func TestRelaySetHost(t *testing.T) { function TestRelayHandlesClosedPeers (line 118) | func TestRelayHandlesClosedPeers(t *testing.T) { function TestRelayConnectionCloseDrainsRelayItems (line 143) | func TestRelayConnectionCloseDrainsRelayItems(t *testing.T) { function TestRelayIDClash (line 170) | func TestRelayIDClash(t *testing.T) { function TestRelayErrorsOnGetPeer (line 202) | func TestRelayErrorsOnGetPeer(t *testing.T) { function TestErrorFrameEndsRelay (line 258) | func TestErrorFrameEndsRelay(t *testing.T) { function TestRaceCloseWithNewCall (line 287) | func TestRaceCloseWithNewCall(t *testing.T) { function TestTimeoutCallsThenClose (line 337) | func TestTimeoutCallsThenClose(t *testing.T) { function TestLargeTimeoutsAreClamped (line 373) | func TestLargeTimeoutsAreClamped(t *testing.T) { function TestRelayConcurrentCalls (line 425) | func TestRelayConcurrentCalls(t *testing.T) { function TestRelayOutgoingConnectionsEphemeral (line 455) | func TestRelayOutgoingConnectionsEphemeral(t *testing.T) { function TestRelayHandleLocalCall (line 475) | func TestRelayHandleLocalCall(t *testing.T) { function TestRelayHandleLargeLocalCall (line 507) | func TestRelayHandleLargeLocalCall(t *testing.T) { function TestRelayMakeOutgoingCall (line 535) | func TestRelayMakeOutgoingCall(t *testing.T) { function TestRelayInboundConnContext (line 557) | func TestRelayInboundConnContext(t *testing.T) { function TestRelayContextInheritsFromOutboundConnection (line 581) | func TestRelayContextInheritsFromOutboundConnection(t *testing.T) { function TestRelayConnection (line 609) | func TestRelayConnection(t *testing.T) { function TestRelayConnectionClosed (line 700) | func TestRelayConnectionClosed(t *testing.T) { function TestRelayUsesRootPeers (line 727) | func TestRelayUsesRootPeers(t *testing.T) { function TestRelayRejectsDuringClose (line 742) | func TestRelayRejectsDuringClose(t *testing.T) { function TestRelayRateLimitDrop (line 785) | func TestRelayRateLimitDrop(t *testing.T) { function TestRelayStalledConnection (line 826) | func TestRelayStalledConnection(t *testing.T) { function TestRelayStalledClientConnection (line 914) | func TestRelayStalledClientConnection(t *testing.T) { function TestRelayCorruptedCallResFrame (line 993) | func TestRelayCorruptedCallResFrame(t *testing.T) { function TestRelayThroughSeparateRelay (line 1050) | func TestRelayThroughSeparateRelay(t *testing.T) { function TestRelayConcurrentNewConnectionAttempts (line 1083) | func TestRelayConcurrentNewConnectionAttempts(t *testing.T) { function TestRelayRaceTimerCausesStuckConnectionOnClose (line 1130) | func TestRelayRaceTimerCausesStuckConnectionOnClose(t *testing.T) { function TestRelayRaceCompletionAndTimeout (line 1180) | func TestRelayRaceCompletionAndTimeout(t *testing.T) { function TestRelayArg2OffsetIntegration (line 1220) | func TestRelayArg2OffsetIntegration(t *testing.T) { function TestRelayThriftArg2KeyValueIteration (line 1356) | func TestRelayThriftArg2KeyValueIteration(t *testing.T) { function TestRelayConnectionTimeout (line 1407) | func TestRelayConnectionTimeout(t *testing.T) { function TestRelayTransferredBytes (line 1474) | func TestRelayTransferredBytes(t *testing.T) { function TestRelayCallResponse (line 1549) | func TestRelayCallResponse(t *testing.T) { function TestRelayAppendArg2SentBytes (line 1604) | func TestRelayAppendArg2SentBytes(t *testing.T) { function inspectFrames (line 1686) | func inspectFrames(rh *relaytest.StubRelayHost) chan relay.CallFrame { type relayModifier (line 1694) | type relayModifier interface type noopRelayModifer (line 1699) | type noopRelayModifer struct method frameFn (line 1701) | func (nrm *noopRelayModifer) frameFn(_ relay.CallFrame, _ *relay.Conn) {} method modifyArg2 (line 1703) | func (nrm *noopRelayModifer) modifyArg2(m map[string]string) map[strin... type keyVal (line 1705) | type keyVal struct type arg2KeyValRelayModifier (line 1709) | type arg2KeyValRelayModifier struct method frameFn (line 1743) | func (rm *arg2KeyValRelayModifier) frameFn(cf relay.CallFrame, _ *rela... method modifyArg2 (line 1749) | func (rm *arg2KeyValRelayModifier) modifyArg2(m map[string]string) map... function addFixedKeyVal (line 1713) | func addFixedKeyVal(kvPairs []keyVal) *arg2KeyValRelayModifier { function fillFrameWithArg2 (line 1719) | func fillFrameWithArg2(t *testing.T, checksumType ChecksumType, arg1 str... function TestRelayModifyArg2 (line 1759) | func TestRelayModifyArg2(t *testing.T) { function TestRelayModifyArg2ShouldFail (line 2005) | func TestRelayModifyArg2ShouldFail(t *testing.T) { type echoVerifyHandler (line 2079) | type echoVerifyHandler struct method Handle (line 2088) | func (h echoVerifyHandler) Handle(ctx context.Context, args *raw.Args)... method OnError (line 2100) | func (h echoVerifyHandler) OnError(ctx context.Context, err error) { function encodeThriftHeaders (line 2104) | func encodeThriftHeaders(t testing.TB, m map[string]string) []byte { function decodeThriftHeaders (line 2110) | func decodeThriftHeaders(t testing.TB, bs []byte) map[string]string { function copyHeaders (line 2124) | func copyHeaders(m map[string]string) map[string]string { FILE: relay_timer_pool.go type relayTimerTrigger (line 29) | type relayTimerTrigger type relayTimerPool (line 31) | type relayTimerPool struct method Get (line 67) | func (tp *relayTimerPool) Get() *relayTimer { method Put (line 89) | func (tp *relayTimerPool) Put(rt *relayTimer) { type relayTimer (line 37) | type relayTimer struct method OnTimer (line 51) | func (rt *relayTimer) OnTimer() { method Start (line 99) | func (rt *relayTimer) Start(d time.Duration, items *relayItems, id uin... method markTimerInactive (line 116) | func (rt *relayTimer) markTimerInactive() { method Stop (line 127) | func (rt *relayTimer) Stop() bool { method Release (line 145) | func (rt *relayTimer) Release() { method verifyNotReleased (line 154) | func (rt *relayTimer) verifyNotReleased() { function newRelayTimerPool (line 58) | func newRelayTimerPool(trigger relayTimerTrigger, verify bool) *relayTim... FILE: reqres.go type errReqResWriterStateMismatch (line 29) | type errReqResWriterStateMismatch struct method Error (line 34) | func (e errReqResWriterStateMismatch) Error() string { type errReqResReaderStateMismatch (line 39) | type errReqResReaderStateMismatch struct method Error (line 44) | func (e errReqResReaderStateMismatch) Error() string { type reqResWriterState (line 50) | type reqResWriterState constant reqResWriterPreArg1 (line 53) | reqResWriterPreArg1 reqResWriterState = iota constant reqResWriterPreArg2 (line 54) | reqResWriterPreArg2 constant reqResWriterPreArg3 (line 55) | reqResWriterPreArg3 constant reqResWriterComplete (line 56) | reqResWriterComplete type messageForFragment (line 63) | type messageForFragment type reqResWriter (line 68) | type reqResWriter struct method argWriter (line 80) | func (w *reqResWriter) argWriter(last bool, inState reqResWriterState,... method arg1Writer (line 98) | func (w *reqResWriter) arg1Writer() (ArgWriter, error) { method arg2Writer (line 102) | func (w *reqResWriter) arg2Writer() (ArgWriter, error) { method arg3Writer (line 106) | func (w *reqResWriter) arg3Writer() (ArgWriter, error) { method newFragment (line 111) | func (w *reqResWriter) newFragment(initial bool, checksum Checksum) (*... method flushFragment (line 139) | func (w *reqResWriter) flushFragment(fragment *writableFragment) error { method failed (line 161) | func (w *reqResWriter) failed(err error) error { type reqResReaderState (line 173) | type reqResReaderState constant reqResReaderPreArg1 (line 176) | reqResReaderPreArg1 reqResReaderState = iota constant reqResReaderPreArg2 (line 177) | reqResReaderPreArg2 constant reqResReaderPreArg3 (line 178) | reqResReaderPreArg3 constant reqResReaderComplete (line 179) | reqResReaderComplete type reqResReader (line 183) | type reqResReader struct method arg1Reader (line 195) | func (r *reqResReader) arg1Reader() (ArgReader, error) { method arg2Reader (line 200) | func (r *reqResReader) arg2Reader() (ArgReader, error) { method arg3Reader (line 205) | func (r *reqResReader) arg3Reader() (ArgReader, error) { method argReader (line 211) | func (r *reqResReader) argReader(last bool, inState reqResReaderState,... method recvNextFragment (line 226) | func (r *reqResReader) recvNextFragment(initial bool) (*readableFragme... method releasePreviousFragment (line 260) | func (r *reqResReader) releasePreviousFragment() { method failed (line 269) | func (r *reqResReader) failed(err error) error { function parseInboundFragment (line 281) | func parseInboundFragment(framePool FramePool, frame *Frame, message mes... FILE: reqresreaderstate_string.go constant _reqResReaderState_name (line 7) | _reqResReaderState_name = "reqResReaderPreArg1reqResReaderPreArg2reqResR... method String (line 11) | func (i reqResReaderState) String() string { FILE: reqreswriterstate_string.go constant _reqResWriterState_name (line 7) | _reqResWriterState_name = "reqResWriterPreArg1reqResWriterPreArg2reqResW... method String (line 11) | func (i reqResWriterState) String() string { FILE: retry.go type RetryOn (line 32) | type RetryOn method CanRetry (line 89) | func (r RetryOn) CanRetry(err error) bool { constant RetryDefault (line 38) | RetryDefault RetryOn = iota constant RetryConnectionError (line 41) | RetryConnectionError constant RetryNever (line 44) | RetryNever constant RetryNonIdempotent (line 49) | RetryNonIdempotent constant RetryUnexpected (line 52) | RetryUnexpected constant RetryIdempotent (line 56) | RetryIdempotent type RequestState (line 60) | type RequestState struct method HasRetries (line 159) | func (rs *RequestState) HasRetries(err error) bool { method SinceStart (line 169) | func (rs *RequestState) SinceStart(now time.Time, fallback time.Durati... method PrevSelectedPeers (line 177) | func (rs *RequestState) PrevSelectedPeers() map[string]struct{} { method AddSelectedPeer (line 185) | func (rs *RequestState) AddSelectedPeer(hostPort string) { method RetryCount (line 203) | func (rs *RequestState) RetryCount() int { type RetriableFunc (line 71) | type RetriableFunc function isNetError (line 73) | func isNetError(err error) bool { function getErrCode (line 80) | func getErrCode(err error) SystemErrCode { type RetryOptions (line 120) | type RetryOptions struct function getRetryOptions (line 141) | func getRetryOptions(ctx context.Context) *RetryOptions { method RunWithRetry (line 212) | func (ch *Channel) RunWithRetry(runCtx context.Context, f RetriableFunc)... method getRequestState (line 251) | func (ch *Channel) getRequestState(retryOpts *RetryOptions) *RequestState { function getHost (line 262) | func getHost(hostPort string) string { FILE: retry_request_test.go function TestRequestStateRetry (line 36) | func TestRequestStateRetry(t *testing.T) { FILE: retry_test.go function createFuncToRetry (line 37) | func createFuncToRetry(t *testing.T, errors ...error) (RetriableFunc, *i... type testErrors (line 51) | type testErrors struct function getTestErrors (line 64) | func getTestErrors() testErrors { function TestCanRetry (line 80) | func TestCanRetry(t *testing.T) { function TestNoRetry (line 108) | func TestNoRetry(t *testing.T) { function TestRetryTillMaxAttempts (line 125) | func TestRetryTillMaxAttempts(t *testing.T) { function TestRetrySubContextNoTimeoutPerAttempt (line 167) | func TestRetrySubContextNoTimeoutPerAttempt(t *testing.T) { function TestRetrySubContextTimeoutPerAttempt (line 184) | func TestRetrySubContextTimeoutPerAttempt(t *testing.T) { function TestRetryNetConnect (line 212) | func TestRetryNetConnect(t *testing.T) { function TestRequestStateSince (line 244) | func TestRequestStateSince(t *testing.T) { FILE: retryon_string.go constant _RetryOn_name (line 7) | _RetryOn_name = "RetryDefaultRetryConnectionErrorRetryNeverRetryNonIdemp... method String (line 11) | func (i RetryOn) String() string { FILE: root_peer_list.go type RootPeerList (line 27) | type RootPeerList struct method newChild (line 45) | func (l *RootPeerList) newChild() *PeerList { method Add (line 51) | func (l *RootPeerList) Add(hostPort string) *Peer { method GetOrAdd (line 76) | func (l *RootPeerList) GetOrAdd(hostPort string) *Peer { method Get (line 86) | func (l *RootPeerList) Get(hostPort string) (*Peer, bool) { method onClosedConnRemoved (line 93) | func (l *RootPeerList) onClosedConnRemoved(peer *Peer) { method Copy (line 113) | func (l *RootPeerList) Copy() map[string]*Peer { function newRootPeerList (line 35) | func newRootPeerList(ch Connectable, onPeerStatusChanged func(*Peer)) *R... FILE: scripts/vbumper/main.go function main (line 46) | func main() { function updateVersion (line 65) | func updateVersion(prevVersion string) error { function insertNewVersion (line 75) | func insertNewVersion(contents, prevVersion, newVersion string) string { function updateChangelog (line 83) | func updateChangelog() (oldVersion string, _ error) { function insertNewChangelog (line 106) | func insertNewChangelog(contents string) (string, string, error) { function getNewChangelog (line 128) | func getNewChangelog(prevVersion string) (string, error) { function getChanges (line 160) | func getChanges(prevVersion string) ([]string, error) { function insertChangesLink (line 180) | func insertChangesLink(contents, prevVersion, version string) (string, e... function getChangesLink (line 198) | func getChangesLink(prevVersion, curVersion string) string { FILE: sockio_bsd.go function getSendQueueLen (line 28) | func getSendQueueLen(fd uintptr) (int, error) { FILE: sockio_darwin.go function getSendQueueLen (line 28) | func getSendQueueLen(fd uintptr) (int, error) { FILE: sockio_linux.go function getSendQueueLen (line 28) | func getSendQueueLen(fd uintptr) (int, error) { FILE: sockio_non_unix.go method sendBufSize (line 27) | func (c *Connection) sendBufSize() (sendBufUsage int, sendBufSize int, _... FILE: sockio_unix.go method sendBufSize (line 32) | func (c *Connection) sendBufSize() (sendBufUsage int, sendBufSize int, _... FILE: stats.go type StatsReporter (line 29) | type StatsReporter interface type nullStatsReporter (line 38) | type nullStatsReporter struct method IncCounter (line 40) | func (nullStatsReporter) IncCounter(name string, tags map[string]strin... method UpdateGauge (line 41) | func (nullStatsReporter) UpdateGauge(name string, tags map[string]stri... method RecordTimer (line 42) | func (nullStatsReporter) RecordTimer(name string, tags map[string]stri... type simpleStatsReporter (line 47) | type simpleStatsReporter struct method IncCounter (line 51) | func (simpleStatsReporter) IncCounter(name string, tags map[string]str... method UpdateGauge (line 55) | func (simpleStatsReporter) UpdateGauge(name string, tags map[string]st... method RecordTimer (line 59) | func (simpleStatsReporter) RecordTimer(name string, tags map[string]st... FILE: stats/metrickey.go function DefaultMetricPrefix (line 31) | func DefaultMetricPrefix(name string, tags map[string]string) string { function MetricWithPrefix (line 40) | func MetricWithPrefix(prefix, name string, tags map[string]string) string { function writeClean (line 77) | func writeClean(buf *bytes.Buffer, v string) { FILE: stats/metrickey_test.go function TestDefaultMetricPrefix (line 30) | func TestDefaultMetricPrefix(t *testing.T) { function TestClean (line 76) | func TestClean(t *testing.T) { function BenchmarkMetricPrefix (line 96) | func BenchmarkMetricPrefix(b *testing.B) { FILE: stats/statsdreporter.go constant samplingRate (line 30) | samplingRate = 1.0 type statsdReporter (line 35) | type statsdReporter struct method IncCounter (line 54) | func (r *statsdReporter) IncCounter(name string, tags map[string]strin... method UpdateGauge (line 59) | func (r *statsdReporter) UpdateGauge(name string, tags map[string]stri... method RecordTimer (line 63) | func (r *statsdReporter) RecordTimer(name string, tags map[string]stri... function NewStatsdReporter (line 40) | func NewStatsdReporter(addr, prefix string) (tchannel.StatsReporter, err... function NewStatsdReporterClient (line 50) | func NewStatsdReporterClient(client statsd.Statter) tchannel.StatsReport... FILE: stats/tally.go type wrapper (line 12) | type wrapper struct method IncCounter (line 48) | func (w *wrapper) IncCounter(name string, tags map[string]string, valu... method UpdateGauge (line 53) | func (w *wrapper) UpdateGauge(name string, tags map[string]string, val... method RecordTimer (line 58) | func (w *wrapper) RecordTimer(name string, tags map[string]string, d t... method getTaggedScope (line 63) | func (w *wrapper) getTaggedScope(tags map[string]string) *taggedScope { type knownTags (line 19) | type knownTags struct method tallyTags (line 117) | func (kt knownTags) tallyTags() map[string]string { type taggedScope (line 26) | type taggedScope struct method getCounter (line 136) | func (ts *taggedScope) getCounter(name string) tally.Counter { method getGauge (line 154) | func (ts *taggedScope) getGauge(name string) tally.Gauge { method getTimer (line 172) | func (ts *taggedScope) getTimer(name string) tally.Timer { function NewTallyReporter (line 41) | func NewTallyReporter(scope tally.Scope) tchannel.StatsReporter { function convertTags (line 91) | func convertTags(tags map[string]string) knownTags { FILE: stats/tally_test.go function TestConvertTags (line 13) | func TestConvertTags(t *testing.T) { function TestNewTallyReporter (line 68) | func TestNewTallyReporter(t *testing.T) { function TestTallyIntegration (line 105) | func TestTallyIntegration(t *testing.T) { function BenchmarkTallyCounter (line 165) | func BenchmarkTallyCounter(b *testing.B) { FILE: stats_test.go function tagsForOutboundCall (line 39) | func tagsForOutboundCall(serverCh *Channel, clientCh *Channel, method st... function tagsForInboundCall (line 50) | func tagsForInboundCall(serverCh *Channel, clientCh *Channel, method str... type statsHandler (line 62) | type statsHandler struct method Handle (line 68) | func (h *statsHandler) Handle(ctx context.Context, args *raw.Args) (*r... function TestStatsCalls (line 74) | func TestStatsCalls(t *testing.T) { function TestStatsWithRetries (line 146) | func TestStatsWithRetries(t *testing.T) { FILE: stats_utils_test.go type statsValue (line 38) | type statsValue struct type recordingStatsReporter (line 46) | type recordingStatsReporter struct method getStat (line 86) | func (r *recordingStatsReporter) getStat(name string, tags map[string]... method IncCounter (line 106) | func (r *recordingStatsReporter) IncCounter(name string, tags map[stri... method RecordTimer (line 111) | func (r *recordingStatsReporter) RecordTimer(name string, tags map[str... method Reset (line 116) | func (r *recordingStatsReporter) Reset() { method Validate (line 122) | func (r *recordingStatsReporter) Validate(t *testing.T) { method ValidateExpected (line 132) | func (r *recordingStatsReporter) ValidateExpected(t testing.TB) { method EnsureNotPresent (line 139) | func (r *recordingStatsReporter) EnsureNotPresent(t testing.TB, counte... method validateExpectedLocked (line 146) | func (r *recordingStatsReporter) validateExpectedLocked(t testing.TB) { method UpdateGauge (line 167) | func (r *recordingStatsReporter) UpdateGauge(name string, tags map[str... function newRecordingStatsReporter (line 56) | func newRecordingStatsReporter() *recordingStatsReporter { function keysMap (line 67) | func keysMap(m interface{}) []string { function tagsToString (line 78) | func tagsToString(tags map[string]string) string { FILE: stream_test.go constant streamRequestError (line 42) | streamRequestError = byte(255) constant streamRequestClose (line 43) | streamRequestClose = byte(254) function makeRepeatedBytes (line 46) | func makeRepeatedBytes(n byte) []byte { function writeFlushBytes (line 54) | func writeFlushBytes(w ArgWriter, bs []byte) error { type streamHelper (line 61) | type streamHelper struct method startCall (line 66) | func (h streamHelper) startCall(ctx context.Context, ch *Channel, host... function streamPartialHandler (line 93) | func streamPartialHandler(t testing.TB, reportErrors bool) HandlerFunc { function testStreamArg (line 188) | func testStreamArg(t *testing.T, f func(argWriter ArgWriter, argReader A... function TestStreamPartialArg (line 217) | func TestStreamPartialArg(t *testing.T) { function TestStreamSendError (line 229) | func TestStreamSendError(t *testing.T) { function TestStreamCancelled (line 243) | func TestStreamCancelled(t *testing.T) { function TestResponseClosedBeforeRequest (line 294) | func TestResponseClosedBeforeRequest(t *testing.T) { FILE: stress_flag_test.go function CheckStress (line 34) | func CheckStress(t *testing.T) { FILE: subchannel.go type SubChannelOption (line 32) | type SubChannelOption function Isolated (line 35) | func Isolated(s *SubChannel) { type SubChannel (line 45) | type SubChannel struct method ServiceName (line 75) | func (c *SubChannel) ServiceName() string { method BeginCall (line 81) | func (c *SubChannel) BeginCall(ctx context.Context, methodName string,... method Peers (line 95) | func (c *SubChannel) Peers() *PeerList { method Isolated (line 100) | func (c *SubChannel) Isolated() bool { method Register (line 110) | func (c *SubChannel) Register(h Handler, methodName string) { method GetHandlers (line 126) | func (c *SubChannel) GetHandlers() map[string]Handler { method SetHandler (line 150) | func (c *SubChannel) SetHandler(h Handler) { method Logger (line 155) | func (c *SubChannel) Logger() Logger { method StatsReporter (line 160) | func (c *SubChannel) StatsReporter() StatsReporter { method StatsTags (line 165) | func (c *SubChannel) StatsTags() map[string]string { method Tracer (line 172) | func (c *SubChannel) Tracer() opentracing.Tracer { type subChannelMap (line 57) | type subChannelMap struct method registerNewSubChannel (line 177) | func (subChMap *subChannelMap) registerNewSubChannel(serviceName strin... method get (line 195) | func (subChMap *subChannelMap) get(serviceName string) (*SubChannel, b... method getOrAdd (line 203) | func (subChMap *subChannelMap) getOrAdd(serviceName string, ch *Channe... method updatePeer (line 211) | func (subChMap *subChannelMap) updatePeer(p *Peer) { function newSubChannel (line 62) | func newSubChannel(serviceName string, ch *Channel) *SubChannel { FILE: subchannel_test.go type chanSet (line 36) | type chanSet struct function withNewSet (line 42) | func withNewSet(t *testing.T, f func(*testing.T, chanSet)) { function assertHaveSameRef (line 53) | func assertHaveSameRef(t *testing.T, r1, r2 Registrar) { function assertNoPeer (line 63) | func assertNoPeer(t *testing.T, r Registrar) { function TestMainAddVisibility (line 68) | func TestMainAddVisibility(t *testing.T) { function TestSubchannelAddVisibility (line 78) | func TestSubchannelAddVisibility(t *testing.T) { function TestIsolatedAddVisibility (line 88) | func TestIsolatedAddVisibility(t *testing.T) { function TestAddReusesPeers (line 102) | func TestAddReusesPeers(t *testing.T) { function TestSetHandler (line 114) | func TestSetHandler(t *testing.T) { function TestGetHandlers (line 177) | func TestGetHandlers(t *testing.T) { function TestCannotRegisterOrGetAfterSetHandler (line 220) | func TestCannotRegisterOrGetAfterSetHandler(t *testing.T) { function TestGetSubchannelOptionsOnNew (line 242) | func TestGetSubchannelOptionsOnNew(t *testing.T) { function TestHandlerWithoutSubChannel (line 256) | func TestHandlerWithoutSubChannel(t *testing.T) { type handlerWithRegister (line 272) | type handlerWithRegister struct method Handle (line 276) | func (handlerWithRegister) Handle(ctx context.Context, call *InboundCa... method Register (line 280) | func (hr *handlerWithRegister) Register(h Handler, methodName string) { function TestHandlerCustomRegister (line 287) | func TestHandlerCustomRegister(t *testing.T) { FILE: systemerrcode_string.go constant _SystemErrCode_name_0 (line 8) | _SystemErrCode_name_0 = "ErrCodeInvalidErrCodeTimeoutErrCodeCancelledErr... constant _SystemErrCode_name_1 (line 9) | _SystemErrCode_name_1 = "ErrCodeProtocol" method String (line 17) | func (i SystemErrCode) String() string { FILE: tchannel_test.go function checkAllChannels (line 34) | func checkAllChannels() error { function TestMain (line 55) | func TestMain(m *testing.M) { FILE: testutils/call.go type FakeIncomingCall (line 35) | type FakeIncomingCall struct method CallerName (line 56) | func (f *FakeIncomingCall) CallerName() string { method ShardKey (line 61) | func (f *FakeIncomingCall) ShardKey() string { method RoutingKey (line 66) | func (f *FakeIncomingCall) RoutingKey() string { method RoutingDelegate (line 71) | func (f *FakeIncomingCall) RoutingDelegate() string { method LocalPeer (line 76) | func (f *FakeIncomingCall) LocalPeer() tchannel.LocalPeerInfo { method RemotePeer (line 81) | func (f *FakeIncomingCall) RemotePeer() tchannel.PeerInfo { method CallOptions (line 86) | func (f *FakeIncomingCall) CallOptions() *tchannel.CallOptions { function NewIncomingCall (line 95) | func NewIncomingCall(callerName string) tchannel.IncomingCall { type FakeCallFrame (line 100) | type FakeCallFrame struct method TTL (line 118) | func (f *FakeCallFrame) TTL() time.Duration { method Service (line 123) | func (f *FakeCallFrame) Service() []byte { method Method (line 128) | func (f *FakeCallFrame) Method() []byte { method Caller (line 133) | func (f *FakeCallFrame) Caller() []byte { method RoutingKey (line 138) | func (f *FakeCallFrame) RoutingKey() []byte { method RoutingDelegate (line 143) | func (f *FakeCallFrame) RoutingDelegate() []byte { method Arg2StartOffset (line 149) | func (f *FakeCallFrame) Arg2StartOffset() int { method Arg2EndOffset (line 155) | func (f *FakeCallFrame) Arg2EndOffset() (int, bool) { method Arg2Iterator (line 161) | func (f *FakeCallFrame) Arg2Iterator() (arg2.KeyValIterator, error) { method Arg2Append (line 166) | func (f *FakeCallFrame) Arg2Append(key, val []byte) { function CopyCallFrame (line 172) | func CopyCallFrame(f relay.CallFrame) *FakeCallFrame { function copyThriftArg2KVIterator (line 192) | func copyThriftArg2KVIterator(f relay.CallFrame) (arg2.KeyValIterator, e... FILE: testutils/channel.go function NewServerChannel (line 39) | func NewServerChannel(opts *ChannelOpts) (*tchannel.Channel, error) { function NewClientChannel (line 70) | func NewClientChannel(opts *ChannelOpts) (*tchannel.Channel, error) { type rawFuncHandler (line 80) | type rawFuncHandler struct method OnError (line 85) | func (h rawFuncHandler) OnError(ctx context.Context, err error) { method Handle (line 92) | func (h rawFuncHandler) Handle(ctx context.Context, args *raw.Args) (*... function RegisterFunc (line 97) | func RegisterFunc(ch tchannel.Registrar, name string, function IntrospectJSON (line 104) | func IntrospectJSON(ch *tchannel.Channel, opts *tchannel.IntrospectionOp... function getListener (line 114) | func getListener(serveTLS bool) (net.Listener, error) { function getTLSListener (line 122) | func getTLSListener() (net.Listener, error) { FILE: testutils/channel_opts.go constant DefaultServerName (line 40) | DefaultServerName = "testService" constant DefaultClientName (line 41) | DefaultClientName = "testService-client" type ChannelOpts (line 45) | type ChannelOpts struct method Copy (line 105) | func (o *ChannelOpts) Copy() *ChannelOpts { method SetServiceName (line 114) | func (o *ChannelOpts) SetServiceName(svcName string) *ChannelOpts { method SetProcessName (line 120) | func (o *ChannelOpts) SetProcessName(processName string) *ChannelOpts { method SetStatsReporter (line 126) | func (o *ChannelOpts) SetStatsReporter(statsReporter tchannel.StatsRep... method SetFramePool (line 132) | func (o *ChannelOpts) SetFramePool(framePool tchannel.FramePool) *Chan... method SetHealthChecks (line 138) | func (o *ChannelOpts) SetHealthChecks(healthChecks tchannel.HealthChec... method SetSendBufferSize (line 144) | func (o *ChannelOpts) SetSendBufferSize(bufSize int) *ChannelOpts { method SetSendBufferSizeOverrides (line 150) | func (o *ChannelOpts) SetSendBufferSizeOverrides(overrides []tchannel.... method SetTosPriority (line 156) | func (o *ChannelOpts) SetTosPriority(tosPriority tos.ToS) *ChannelOpts { method SetChecksumType (line 162) | func (o *ChannelOpts) SetChecksumType(checksumType tchannel.ChecksumTy... method SetTimeNow (line 168) | func (o *ChannelOpts) SetTimeNow(timeNow func() time.Time) *ChannelOpts { method SetTimeTicker (line 174) | func (o *ChannelOpts) SetTimeTicker(timeTicker func(d time.Duration) *... method DisableLogVerification (line 180) | func (o *ChannelOpts) DisableLogVerification() *ChannelOpts { method NoRelay (line 186) | func (o *ChannelOpts) NoRelay() *ChannelOpts { method SetRelayOnly (line 192) | func (o *ChannelOpts) SetRelayOnly() *ChannelOpts { method SetDisableServer (line 199) | func (o *ChannelOpts) SetDisableServer() *ChannelOpts { method SetRunCount (line 205) | func (o *ChannelOpts) SetRunCount(n int) *ChannelOpts { method AddLogFilter (line 212) | func (o *ChannelOpts) AddLogFilter(filter string, maxCount uint, field... method addPostFn (line 226) | func (o *ChannelOpts) addPostFn(f func()) { method SetRelayHost (line 231) | func (o *ChannelOpts) SetRelayHost(rh tchannel.RelayHost) *ChannelOpts { method SetRelayLocal (line 238) | func (o *ChannelOpts) SetRelayLocal(relayLocal ...string) *ChannelOpts { method SetRelayMaxTimeout (line 244) | func (o *ChannelOpts) SetRelayMaxTimeout(d time.Duration) *ChannelOpts { method SetRelayMaxConnectionTimeout (line 250) | func (o *ChannelOpts) SetRelayMaxConnectionTimeout(d time.Duration) *C... method SetRelayMaxTombs (line 256) | func (o *ChannelOpts) SetRelayMaxTombs(maxTombs uint64) *ChannelOpts { method SetOnPeerStatusChanged (line 263) | func (o *ChannelOpts) SetOnPeerStatusChanged(f func(*tchannel.Peer)) *... method SetMaxIdleTime (line 270) | func (o *ChannelOpts) SetMaxIdleTime(d time.Duration) *ChannelOpts { method SetIdleCheckInterval (line 277) | func (o *ChannelOpts) SetIdleCheckInterval(d time.Duration) *ChannelOp... method SetDialer (line 283) | func (o *ChannelOpts) SetDialer(f func(context.Context, string, string... method SetConnContext (line 289) | func (o *ChannelOpts) SetConnContext(f func(context.Context, net.Conn)... method SetCheckFramePooling (line 295) | func (o *ChannelOpts) SetCheckFramePooling() *ChannelOpts { method SetServeTLS (line 301) | func (o *ChannelOpts) SetServeTLS(serveTLS bool) *ChannelOpts { type LogVerification (line 84) | type LogVerification struct method WrapLogger (line 325) | func (v *LogVerification) WrapLogger(t testing.TB, l tchannel.Logger) ... type LogFilter (line 91) | type LogFilter struct function defaultString (line 306) | func defaultString(v string, defaultValue string) string { function NewOpts (line 314) | func NewOpts() *ChannelOpts { return &ChannelOpts{} } function DefaultOpts (line 317) | func DefaultOpts(opts *ChannelOpts) *ChannelOpts { FILE: testutils/channel_t.go function updateOptsLogger (line 31) | func updateOptsLogger(opts *ChannelOpts) { function updateOptsForTest (line 37) | func updateOptsForTest(t testing.TB, opts *ChannelOpts) { function WithServer (line 54) | func WithServer(t testing.TB, opts *ChannelOpts, f func(ch *tchannel.Cha... function NewServer (line 63) | func NewServer(t testing.TB, opts *ChannelOpts) *tchannel.Channel { function newServer (line 69) | func newServer(t testing.TB, opts *ChannelOpts) *tchannel.Channel { function NewClient (line 77) | func NewClient(t testing.TB, opts *ChannelOpts) *tchannel.Channel { function newClient (line 83) | func newClient(t testing.TB, opts *ChannelOpts) *tchannel.Channel { FILE: testutils/conn.go function GetClosedHostPort (line 29) | func GetClosedHostPort(t testing.TB) string { function GetAcceptCloseHostPort (line 46) | func GetAcceptCloseHostPort(t testing.TB) (string, func()) { FILE: testutils/counter.go type Decrement (line 30) | type Decrement interface type decrementor (line 39) | type decrementor struct method Single (line 43) | func (d *decrementor) Single() bool { method Multiple (line 47) | func (d *decrementor) Multiple(n int) int { function Decrementor (line 63) | func Decrementor(n int) Decrement { function Batch (line 70) | func Batch(n, batchSize int) []int { function Buckets (line 83) | func Buckets(n int, numBuckets int) []int { function RunN (line 98) | func RunN(n int, f func(i int)) { FILE: testutils/counter_test.go function testDecrementor (line 30) | func testDecrementor(t *testing.T, f func(dec Decrement) int) { function TestDecrementSingle (line 50) | func TestDecrementSingle(t *testing.T) { function TestDecrementMultiple (line 60) | func TestDecrementMultiple(t *testing.T) { function TestBatch (line 74) | func TestBatch(t *testing.T) { function TestBuckets (line 91) | func TestBuckets(t *testing.T) { FILE: testutils/data.go function checkCacheSize (line 38) | func checkCacheSize(n int) { function resizeCache (line 56) | func resizeCache(n int) { function RandBytes (line 77) | func RandBytes(n int) []byte { function RandString (line 91) | func RandString(n int) string { function randBytes (line 97) | func randBytes(n int) []byte { FILE: testutils/echo.go constant _defaultTimeout (line 35) | _defaultTimeout = 300 * time.Millisecond function CallEcho (line 39) | func CallEcho( function CallEchoWithContext (line 56) | func CallEchoWithContext( function AssertEcho (line 94) | func AssertEcho(tb testing.TB, src *tchannel.Channel, targetHostPort, ta... function RegisterEcho (line 114) | func RegisterEcho(src tchannel.Registrar, f func()) { function Ping (line 124) | func Ping(src, target *tchannel.Channel) error { FILE: testutils/goroutines/stacks.go type Stack (line 34) | type Stack struct method ID (line 42) | func (s Stack) ID() int { method State (line 47) | func (s Stack) State() string { method Full (line 52) | func (s Stack) Full() []byte { method String (line 56) | func (s Stack) String() string { function getStacks (line 62) | func getStacks(all bool) []Stack { function GetAll (line 104) | func GetAll() []Stack { function GetCurrentStack (line 109) | func GetCurrentStack() Stack { function getStackBuffer (line 113) | func getStackBuffer(all bool) []byte { function parseFirstFunc (line 122) | func parseFirstFunc(line string) string { function parseGoStackHeader (line 133) | func parseGoStackHeader(line string) (goroutineID int, state string) { FILE: testutils/goroutines/verify.go function filterStacks (line 32) | func filterStacks(stacks []Stack, skipID int, opts *VerifyOpts) []Stack { function shouldIgnore (line 46) | func shouldIgnore(s Stack) bool { function IdentifyLeaks (line 62) | func IdentifyLeaks(opts *VerifyOpts) error { function VerifyNoLeaks (line 87) | func VerifyNoLeaks(t testing.TB, opts *VerifyOpts) { FILE: testutils/goroutines/verify_opts.go type VerifyOpts (line 26) | type VerifyOpts struct method ShouldSkip (line 32) | func (opts *VerifyOpts) ShouldSkip(s Stack) bool { FILE: testutils/lists.go function StrArray (line 26) | func StrArray(ss ...string) []string { function StrMap (line 31) | func StrMap(ss ...string) map[string]struct{} { function DurationArray (line 40) | func DurationArray(dd ...time.Duration) []time.Duration { FILE: testutils/logfilter_test.go function TestLogFilterMatches (line 30) | func TestLogFilterMatches(t *testing.T) { FILE: testutils/logger.go type writer (line 39) | type writer struct method withLock (line 67) | func (w *writer) withLock(f func(*bytes.Buffer)) { type testLogger (line 46) | type testLogger struct method Enabled (line 107) | func (l testLogger) Enabled(level tchannel.LogLevel) bool { method log (line 111) | func (l testLogger) log(prefix string, msg string) { method Fatal (line 118) | func (l testLogger) Fatal(msg string) { method Error (line 122) | func (l testLogger) Error(msg string) { method Warn (line 126) | func (l testLogger) Warn(msg string) { method Info (line 130) | func (l testLogger) Info(msg string) { method Infof (line 134) | func (l testLogger) Infof(msg string, args ...interface{}) { method Debug (line 138) | func (l testLogger) Debug(msg string) { method Debugf (line 142) | func (l testLogger) Debugf(msg string, args ...interface{}) { method Fields (line 146) | func (l testLogger) Fields() tchannel.LogFields { method WithFields (line 150) | func (l testLogger) WithFields(fields ...tchannel.LogField) tchannel.L... method report (line 158) | func (l testLogger) report() { type errorLoggerState (line 52) | type errorLoggerState struct type errorLogger (line 56) | type errorLogger struct method checkFilters (line 171) | func (l errorLogger) checkFilters(msg string) bool { method checkErr (line 187) | func (l errorLogger) checkErr(prefix, msg string) { method Fatal (line 195) | func (l errorLogger) Fatal(msg string) { method Error (line 200) | func (l errorLogger) Error(msg string) { method Warn (line 205) | func (l errorLogger) Warn(msg string) { method WithFields (line 210) | func (l errorLogger) WithFields(fields ...tchannel.LogField) tchannel.... function newWriter (line 63) | func newWriter() *writer { method Matches (line 74) | func (f LogFilter) Matches(msg string, fields tchannel.LogFields) bool { function newTestLogger (line 103) | func newTestLogger(t testing.TB) testLogger { FILE: testutils/mockhyperbahn/hyperbahn.go type Mock (line 37) | type Mock struct method SetDiscoverResult (line 72) | func (h *Mock) SetDiscoverResult(serviceName string, hostPorts []strin... method Discover (line 81) | func (h *Mock) Discover(ctx thrift.Context, query *hthrift.DiscoveryQu... method Configuration (line 102) | func (h *Mock) Configuration() hyperbahn.Configuration { method Channel (line 109) | func (h *Mock) Channel() *tchannel.Channel { method adHandler (line 113) | func (h *Mock) adHandler(ctx json.Context, req *hyperbahn.AdRequest) (... method GetAdvertised (line 136) | func (h *Mock) GetAdvertised() []string { method Close (line 144) | func (h *Mock) Close() { method QueueError (line 149) | func (h *Mock) QueueError() { method QueueResponse (line 155) | func (h *Mock) QueueResponse(numConnections int) { function New (line 47) | func New() (*Mock, error) { FILE: testutils/mockhyperbahn/hyperbahn_test.go function setupServer (line 43) | func setupServer() (*hyperbahn.Client, error) { function newAdvertisedEchoServer (line 61) | func newAdvertisedEchoServer(t *testing.T, name string, mockHB *mockhype... function TestMockHyperbahn (line 74) | func TestMockHyperbahn(t *testing.T) { function TestMockDiscovery (line 85) | func TestMockDiscovery(t *testing.T) { function TestMockForwards (line 105) | func TestMockForwards(t *testing.T) { function TestMockIgnoresDown (line 125) | func TestMockIgnoresDown(t *testing.T) { FILE: testutils/mockhyperbahn/utils.go function toServicePeer (line 31) | func toServicePeer(hostPort string) (*hthrift.ServicePeer, error) { function toServicePeers (line 61) | func toServicePeers(hostPorts []string) ([]*hthrift.ServicePeer, error) { FILE: testutils/now.go type StubClock (line 30) | type StubClock struct method Now (line 43) | func (c *StubClock) Now() time.Time { method Elapse (line 51) | func (c *StubClock) Elapse(addAmt time.Duration) { function NewStubClock (line 36) | func NewStubClock(initial time.Time) *StubClock { FILE: testutils/random_bench_test.go function benchmarkRandom (line 30) | func benchmarkRandom(b *testing.B, numBytes int) { function BenchmarkRandom256 (line 39) | func BenchmarkRandom256(b *testing.B) { function BenchmarkRandom1024 (line 43) | func BenchmarkRandom1024(b *testing.B) { function BenchmarkRandom4096 (line 47) | func BenchmarkRandom4096(b *testing.B) { function BenchmarkRandom16384 (line 51) | func BenchmarkRandom16384(b *testing.B) { function BenchmarkRandom32768 (line 55) | func BenchmarkRandom32768(b *testing.B) { FILE: testutils/relay.go type frameRelay (line 36) | type frameRelay struct method listen (line 47) | func (r *frameRelay) listen() (listenHostPort string, cancel func()) { method relayConn (line 82) | func (r *frameRelay) relayConn(c net.Conn) { method relayBetween (line 102) | func (r *frameRelay) relayBetween(outgoing bool, c net.Conn, outC net.... function FrameRelay (line 137) | func FrameRelay(t testing.TB, destination string, relayFunc func(outgoin... FILE: testutils/sleep.go function SleepStub (line 31) | func SleepStub(funcVar *func(time.Duration)) ( function ResetSleepStub (line 48) | func ResetSleepStub(funcVar *func(time.Duration)) { FILE: testutils/test_server.go type TestServer (line 48) | type TestServer struct method SetVerifyOpts (line 187) | func (ts *TestServer) SetVerifyOpts(opts *goroutines.VerifyOpts) { method HasServer (line 193) | func (ts *TestServer) HasServer() bool { method Server (line 203) | func (ts *TestServer) Server() *tchannel.Channel { method HasRelay (line 210) | func (ts *TestServer) HasRelay() bool { method Relay (line 215) | func (ts *TestServer) Relay() *tchannel.Channel { method RelayHost (line 221) | func (ts *TestServer) RelayHost() *relaytest.StubRelayHost { method HostPort (line 227) | func (ts *TestServer) HostPort() string { method ServiceName (line 235) | func (ts *TestServer) ServiceName() string { method Register (line 240) | func (ts *TestServer) Register(h tchannel.Handler, methodName string) { method RegisterFunc (line 247) | func (ts *TestServer) RegisterFunc(name string, f func(context.Context... method CloseAndVerify (line 253) | func (ts *TestServer) CloseAndVerify() { method AssertRelayStats (line 296) | func (ts *TestServer) AssertRelayStats(expected *relaytest.MockStats) { method NewClient (line 311) | func (ts *TestServer) NewClient(opts *ChannelOpts) *tchannel.Channel { method NewServer (line 318) | func (ts *TestServer) NewServer(opts *ChannelOpts) *tchannel.Channel { method addRelay (line 328) | func (ts *TestServer) addRelay(parentOpts *ChannelOpts) { method addChannel (line 352) | func (ts *TestServer) addChannel(createChannel func(t testing.TB, opts... method close (line 362) | func (ts *TestServer) close(ch *tchannel.Channel) { method verify (line 379) | func (ts *TestServer) verify(ch *tchannel.Channel) { method AddPostFn (line 404) | func (ts *TestServer) AddPostFn(fn func()) { method post (line 408) | func (ts *TestServer) post() { method verifyNoStateLeak (line 419) | func (ts *TestServer) verifyNoStateLeak(ch *tchannel.Channel) { method verifyExchangesCleared (line 425) | func (ts *TestServer) verifyExchangesCleared(ch *tchannel.Channel) err... method verifyRelaysEmpty (line 435) | func (ts *TestServer) verifyRelaysEmpty(ch *tchannel.Channel) error { method verifyNoGoroutinesLeaked (line 453) | func (ts *TestServer) verifyNoGoroutinesLeaked() { type relayStatter (line 76) | type relayStatter interface function NewTestServer (line 81) | func NewTestServer(t testing.TB, opts *ChannelOpts) *TestServer { function runSubTest (line 107) | func runSubTest(t testing.TB, name string, f func(testing.TB)) { function WithTestServer (line 124) | func WithTestServer(t testing.TB, chanOpts *ChannelOpts, f func(testing.... function comparableState (line 475) | func comparableState(ch *tchannel.Channel, opts *tchannel.IntrospectionO... function describeLeakedExchanges (line 485) | func describeLeakedExchanges(rs *tchannel.RuntimeState) string { function describeLeakedExchangesConns (line 498) | func describeLeakedExchangesConns(connections []*tchannel.ConnectionRunt... function describeLeakedExchangesSingleConn (line 508) | func describeLeakedExchangesSingleConn(cs *tchannel.ConnectionRuntimeSta... function withServer (line 527) | func withServer(t testing.TB, chanOpts *ChannelOpts, f func(testing.TB, ... FILE: testutils/testreader/chunk.go function ChunkReader (line 34) | func ChunkReader() (chan<- []byte, io.Reader) { type errorReader (line 41) | type errorReader struct method Read (line 46) | func (r *errorReader) Read(bs []byte) (int, error) { FILE: testutils/testreader/chunk_test.go function TestChunkReader0ByteRead (line 31) | func TestChunkReader0ByteRead(t *testing.T) { function TestChunkReader (line 53) | func TestChunkReader(t *testing.T) { FILE: testutils/testreader/loop.go type loopReader (line 25) | type loopReader struct method Read (line 30) | func (r loopReader) Read(p []byte) (int, error) { function Looper (line 41) | func Looper(bs []byte) io.Reader { FILE: testutils/testreader/loop_test.go function TestLooper (line 29) | func TestLooper(t *testing.T) { FILE: testutils/testtracing/propagation.go constant BaggageKey (line 41) | BaggageKey = "luggage" constant BaggageValue (line 44) | BaggageValue = "suitcase" type TracingRequest (line 48) | type TracingRequest struct type TracingResponse (line 54) | type TracingResponse struct method ObserveSpan (line 64) | func (r *TracingResponse) ObserveSpan(ctx context.Context) *TracingRes... type TraceHandler (line 84) | type TraceHandler struct method HandleCall (line 91) | func (h *TraceHandler) HandleCall( type TracerType (line 114) | type TracerType constant Noop (line 118) | Noop TracerType = "NOOP" constant Mock (line 120) | Mock TracerType = "MOCK" constant Jaeger (line 122) | Jaeger TracerType = "JAEGER" type TracingCall (line 126) | type TracingCall type EncodingInfo (line 129) | type EncodingInfo struct type PropagationTestSuite (line 135) | type PropagationTestSuite struct method Run (line 159) | func (s *PropagationTestSuite) Run(t *testing.T) { method runWithNoopTracer (line 174) | func (s *PropagationTestSuite) runWithNoopTracer(t *testing.T) { method runWithMockTracer (line 184) | func (s *PropagationTestSuite) runWithMockTracer(t *testing.T) { method runWithJaegerTracer (line 198) | func (s *PropagationTestSuite) runWithJaegerTracer(t *testing.T) { method runWithTracer (line 219) | func (s *PropagationTestSuite) runWithTracer(t *testing.T, tracer trac... method runTestCase (line 238) | func (s *PropagationTestSuite) runTestCase( type PropagationTestCase (line 142) | type PropagationTestCase struct type tracerChoice (line 149) | type tracerChoice struct function MockTracerSampledSpans (line 305) | func MockTracerSampledSpans(tracer *mocktracer.MockTracer) []*mocktracer... FILE: testutils/testtracing/propagation_test.go function requestFromRaw (line 33) | func requestFromRaw(args *raw.Args) *TracingRequest { function requestToRaw (line 39) | func requestToRaw(r *TracingRequest) []byte { function responseFromRaw (line 43) | func responseFromRaw(t *testing.T, arg3 []byte) (*TracingResponse, error) { function responseToRaw (line 52) | func responseToRaw(t *testing.T, r *TracingResponse) (*raw.Res, error) { type RawHandler (line 61) | type RawHandler struct method Handle (line 66) | func (h *RawHandler) Handle(ctx context.Context, args *raw.Args) (*raw... method OnError (line 83) | func (h *RawHandler) OnError(ctx context.Context, err error) { h.t.Err... method firstCall (line 85) | func (h *RawHandler) firstCall(ctx context.Context, req *TracingReques... function TestRawTracingPropagation (line 94) | func TestRawTracingPropagation(t *testing.T) { FILE: testutils/testwriter/limited.go type writerFunc (line 31) | type writerFunc method Write (line 33) | func (f writerFunc) Write(p []byte) (n int, err error) { function Limited (line 39) | func Limited(n int) io.Writer { FILE: testutils/testwriter/limited_test.go function TestLimitedWriter (line 29) | func TestLimitedWriter(t *testing.T) { function TestLimitedWriter2 (line 76) | func TestLimitedWriter2(t *testing.T) { FILE: testutils/thriftarg2test/arg2_kv.go function BuildKVBuffer (line 12) | func BuildKVBuffer(kv map[string]string) []byte { function ReadKVBuffer (line 31) | func ReadKVBuffer(b []byte) (map[string]string, error) { function MustReadKVBuffer (line 47) | func MustReadKVBuffer(tb testing.TB, b []byte) map[string]string { FILE: testutils/thriftarg2test/arg2_kv_test.go function TestBuildKVBuffer (line 10) | func TestBuildKVBuffer(t *testing.T) { function TestReadKVBuffer (line 28) | func TestReadKVBuffer(t *testing.T) { FILE: testutils/ticker.go type FakeTicker (line 27) | type FakeTicker struct method Tick (line 39) | func (ft *FakeTicker) Tick() { method TryTick (line 44) | func (ft *FakeTicker) TryTick() bool { method New (line 55) | func (ft *FakeTicker) New(d time.Duration) *time.Ticker { function NewFakeTicker (line 32) | func NewFakeTicker() *FakeTicker { FILE: testutils/ticker_test.go function TestFakeTicker (line 30) | func TestFakeTicker(t *testing.T) { FILE: testutils/timeout.go function init (line 35) | func init() { function Timeout (line 47) | func Timeout(timeout time.Duration) time.Duration { function getCallerName (line 53) | func getCallerName() string { function SetTimeout (line 68) | func SetTimeout(t *testing.T, timeout time.Duration) func() { FILE: testutils/wait.go function WaitFor (line 30) | func WaitFor(timeout time.Duration, f func() bool) bool { function WaitWG (line 53) | func WaitWG(wg *sync.WaitGroup, timeout time.Duration) bool { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/application_exception.go constant UNKNOWN_APPLICATION_EXCEPTION (line 23) | UNKNOWN_APPLICATION_EXCEPTION = 0 constant UNKNOWN_METHOD (line 24) | UNKNOWN_METHOD = 1 constant INVALID_MESSAGE_TYPE_EXCEPTION (line 25) | INVALID_MESSAGE_TYPE_EXCEPTION = 2 constant WRONG_METHOD_NAME (line 26) | WRONG_METHOD_NAME = 3 constant BAD_SEQUENCE_ID (line 27) | BAD_SEQUENCE_ID = 4 constant MISSING_RESULT (line 28) | MISSING_RESULT = 5 constant INTERNAL_ERROR (line 29) | INTERNAL_ERROR = 6 constant PROTOCOL_ERROR (line 30) | PROTOCOL_ERROR = 7 type TApplicationException (line 34) | type TApplicationException interface type tApplicationException (line 41) | type tApplicationException struct method Error (line 46) | func (e tApplicationException) Error() string { method TypeId (line 54) | func (p *tApplicationException) TypeId() int32 { method Read (line 58) | func (p *tApplicationException) Read(iprot TProtocol) (TApplicationExc... method Write (line 108) | func (p *tApplicationException) Write(oprot TProtocol) (err error) { function NewTApplicationException (line 50) | func NewTApplicationException(type_ int32, message string) TApplicationE... FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/application_exception_test.go function TestTApplicationException (line 26) | func TestTApplicationException(t *testing.T) { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/binary_protocol.go type TBinaryProtocol (line 31) | type TBinaryProtocol struct method WriteMessageBegin (line 78) | func (p *TBinaryProtocol) WriteMessageBegin(name string, typeId TMessa... method WriteMessageEnd (line 106) | func (p *TBinaryProtocol) WriteMessageEnd() error { method WriteStructBegin (line 110) | func (p *TBinaryProtocol) WriteStructBegin(name string) error { method WriteStructEnd (line 114) | func (p *TBinaryProtocol) WriteStructEnd() error { method WriteFieldBegin (line 118) | func (p *TBinaryProtocol) WriteFieldBegin(name string, typeId TType, i... method WriteFieldEnd (line 127) | func (p *TBinaryProtocol) WriteFieldEnd() error { method WriteFieldStop (line 131) | func (p *TBinaryProtocol) WriteFieldStop() error { method WriteMapBegin (line 136) | func (p *TBinaryProtocol) WriteMapBegin(keyType TType, valueType TType... method WriteMapEnd (line 149) | func (p *TBinaryProtocol) WriteMapEnd() error { method WriteListBegin (line 153) | func (p *TBinaryProtocol) WriteListBegin(elemType TType, size int) err... method WriteListEnd (line 162) | func (p *TBinaryProtocol) WriteListEnd() error { method WriteSetBegin (line 166) | func (p *TBinaryProtocol) WriteSetBegin(elemType TType, size int) error { method WriteSetEnd (line 175) | func (p *TBinaryProtocol) WriteSetEnd() error { method WriteBool (line 179) | func (p *TBinaryProtocol) WriteBool(value bool) error { method WriteByte (line 186) | func (p *TBinaryProtocol) WriteByte(value int8) error { method WriteI16 (line 191) | func (p *TBinaryProtocol) WriteI16(value int16) error { method WriteI32 (line 198) | func (p *TBinaryProtocol) WriteI32(value int32) error { method WriteI64 (line 205) | func (p *TBinaryProtocol) WriteI64(value int64) error { method WriteDouble (line 212) | func (p *TBinaryProtocol) WriteDouble(value float64) error { method WriteString (line 216) | func (p *TBinaryProtocol) WriteString(value string) error { method WriteBinary (line 225) | func (p *TBinaryProtocol) WriteBinary(value []byte) error { method ReadMessageBegin (line 238) | func (p *TBinaryProtocol) ReadMessageBegin() (name string, typeId TMes... method ReadMessageEnd (line 278) | func (p *TBinaryProtocol) ReadMessageEnd() error { method ReadStructBegin (line 282) | func (p *TBinaryProtocol) ReadStructBegin() (name string, err error) { method ReadStructEnd (line 286) | func (p *TBinaryProtocol) ReadStructEnd() error { method ReadFieldBegin (line 290) | func (p *TBinaryProtocol) ReadFieldBegin() (name string, typeId TType,... method ReadFieldEnd (line 302) | func (p *TBinaryProtocol) ReadFieldEnd() error { method ReadMapBegin (line 308) | func (p *TBinaryProtocol) ReadMapBegin() (kType, vType TType, size int... method ReadMapEnd (line 334) | func (p *TBinaryProtocol) ReadMapEnd() error { method ReadListBegin (line 338) | func (p *TBinaryProtocol) ReadListBegin() (elemType TType, size int, e... method ReadListEnd (line 359) | func (p *TBinaryProtocol) ReadListEnd() error { method ReadSetBegin (line 363) | func (p *TBinaryProtocol) ReadSetBegin() (elemType TType, size int, er... method ReadSetEnd (line 383) | func (p *TBinaryProtocol) ReadSetEnd() error { method ReadBool (line 387) | func (p *TBinaryProtocol) ReadBool() (bool, error) { method ReadByte (line 396) | func (p *TBinaryProtocol) ReadByte() (int8, error) { method ReadI16 (line 401) | func (p *TBinaryProtocol) ReadI16() (value int16, err error) { method ReadI32 (line 408) | func (p *TBinaryProtocol) ReadI32() (value int32, err error) { method ReadI64 (line 415) | func (p *TBinaryProtocol) ReadI64() (value int64, err error) { method ReadDouble (line 422) | func (p *TBinaryProtocol) ReadDouble() (value float64, err error) { method ReadString (line 429) | func (p *TBinaryProtocol) ReadString() (value string, err error) { method ReadBinary (line 442) | func (p *TBinaryProtocol) ReadBinary() ([]byte, error) { method Flush (line 460) | func (p *TBinaryProtocol) Flush() (err error) { method Skip (line 464) | func (p *TBinaryProtocol) Skip(fieldType TType) (err error) { method Transport (line 468) | func (p *TBinaryProtocol) Transport() TTransport { method readAll (line 472) | func (p *TBinaryProtocol) readAll(buf []byte) error { method readStringBody (line 479) | func (p *TBinaryProtocol) readStringBody(size int32) (value string, er... type TBinaryProtocolFactory (line 41) | type TBinaryProtocolFactory struct method GetProtocol (line 70) | func (p *TBinaryProtocolFactory) GetProtocol(t TTransport) TProtocol { function NewTBinaryProtocolTransport (line 46) | func NewTBinaryProtocolTransport(t TTransport) *TBinaryProtocol { function NewTBinaryProtocol (line 50) | func NewTBinaryProtocol(t TTransport, strictRead, strictWrite bool) *TBi... function NewTBinaryProtocolFactoryDefault (line 62) | func NewTBinaryProtocolFactoryDefault() *TBinaryProtocolFactory { function NewTBinaryProtocolFactory (line 66) | func NewTBinaryProtocolFactory(strictRead, strictWrite bool) *TBinaryPro... constant readLimit (line 477) | readLimit = 32768 FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/binary_protocol_test.go function TestReadWriteBinaryProtocol (line 26) | func TestReadWriteBinaryProtocol(t *testing.T) { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/buffered_transport.go type TBufferedTransportFactory (line 26) | type TBufferedTransportFactory struct method GetTransport (line 35) | func (p *TBufferedTransportFactory) GetTransport(trans TTransport) TTr... type TBufferedTransport (line 30) | type TBufferedTransport struct method IsOpen (line 53) | func (p *TBufferedTransport) IsOpen() bool { method Open (line 57) | func (p *TBufferedTransport) Open() (err error) { method Close (line 61) | func (p *TBufferedTransport) Close() (err error) { method Read (line 65) | func (p *TBufferedTransport) Read(b []byte) (int, error) { method Write (line 73) | func (p *TBufferedTransport) Write(b []byte) (int, error) { method Flush (line 81) | func (p *TBufferedTransport) Flush() error { method RemainingBytes (line 89) | func (p *TBufferedTransport) RemainingBytes() (num_bytes uint64) { function NewTBufferedTransportFactory (line 39) | func NewTBufferedTransportFactory(bufferSize int) *TBufferedTransportFac... function NewTBufferedTransport (line 43) | func NewTBufferedTransport(trans TTransport, bufferSize int) *TBufferedT... FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/buffered_transport_test.go function TestBufferedTransport (line 26) | func TestBufferedTransport(t *testing.T) { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/compact_protocol.go constant COMPACT_PROTOCOL_ID (line 30) | COMPACT_PROTOCOL_ID = 0x082 constant COMPACT_VERSION (line 31) | COMPACT_VERSION = 1 constant COMPACT_VERSION_MASK (line 32) | COMPACT_VERSION_MASK = 0x1f constant COMPACT_TYPE_MASK (line 33) | COMPACT_TYPE_MASK = 0x0E0 constant COMPACT_TYPE_BITS (line 34) | COMPACT_TYPE_BITS = 0x07 constant COMPACT_TYPE_SHIFT_AMOUNT (line 35) | COMPACT_TYPE_SHIFT_AMOUNT = 5 type tCompactType (line 38) | type tCompactType constant COMPACT_BOOLEAN_TRUE (line 41) | COMPACT_BOOLEAN_TRUE = 0x01 constant COMPACT_BOOLEAN_FALSE (line 42) | COMPACT_BOOLEAN_FALSE = 0x02 constant COMPACT_BYTE (line 43) | COMPACT_BYTE = 0x03 constant COMPACT_I16 (line 44) | COMPACT_I16 = 0x04 constant COMPACT_I32 (line 45) | COMPACT_I32 = 0x05 constant COMPACT_I64 (line 46) | COMPACT_I64 = 0x06 constant COMPACT_DOUBLE (line 47) | COMPACT_DOUBLE = 0x07 constant COMPACT_BINARY (line 48) | COMPACT_BINARY = 0x08 constant COMPACT_LIST (line 49) | COMPACT_LIST = 0x09 constant COMPACT_SET (line 50) | COMPACT_SET = 0x0A constant COMPACT_MAP (line 51) | COMPACT_MAP = 0x0B constant COMPACT_STRUCT (line 52) | COMPACT_STRUCT = 0x0C function init (line 59) | func init() { type TCompactProtocolFactory (line 76) | type TCompactProtocolFactory struct method GetProtocol (line 82) | func (p *TCompactProtocolFactory) GetProtocol(trans TTransport) TProto... function NewTCompactProtocolFactory (line 78) | func NewTCompactProtocolFactory() *TCompactProtocolFactory { type TCompactProtocol (line 86) | type TCompactProtocol struct method WriteMessageBegin (line 127) | func (p *TCompactProtocol) WriteMessageBegin(name string, typeId TMess... method WriteMessageEnd (line 145) | func (p *TCompactProtocol) WriteMessageEnd() error { return nil } method WriteStructBegin (line 150) | func (p *TCompactProtocol) WriteStructBegin(name string) error { method WriteStructEnd (line 159) | func (p *TCompactProtocol) WriteStructEnd() error { method WriteFieldBegin (line 165) | func (p *TCompactProtocol) WriteFieldBegin(name string, typeId TType, ... method writeFieldBeginInternal (line 178) | func (p *TCompactProtocol) writeFieldBeginInternal(name string, typeId... method WriteFieldEnd (line 215) | func (p *TCompactProtocol) WriteFieldEnd() error { return nil } method WriteFieldStop (line 217) | func (p *TCompactProtocol) WriteFieldStop() error { method WriteMapBegin (line 222) | func (p *TCompactProtocol) WriteMapBegin(keyType TType, valueType TTyp... method WriteMapEnd (line 235) | func (p *TCompactProtocol) WriteMapEnd() error { return nil } method WriteListBegin (line 238) | func (p *TCompactProtocol) WriteListBegin(elemType TType, size int) er... method WriteListEnd (line 243) | func (p *TCompactProtocol) WriteListEnd() error { return nil } method WriteSetBegin (line 246) | func (p *TCompactProtocol) WriteSetBegin(elemType TType, size int) err... method WriteSetEnd (line 251) | func (p *TCompactProtocol) WriteSetEnd() error { return nil } method WriteBool (line 253) | func (p *TCompactProtocol) WriteBool(value bool) error { method WriteByte (line 270) | func (p *TCompactProtocol) WriteByte(value int8) error { method WriteI16 (line 276) | func (p *TCompactProtocol) WriteI16(value int16) error { method WriteI32 (line 282) | func (p *TCompactProtocol) WriteI32(value int32) error { method WriteI64 (line 288) | func (p *TCompactProtocol) WriteI64(value int64) error { method WriteDouble (line 294) | func (p *TCompactProtocol) WriteDouble(value float64) error { method WriteString (line 302) | func (p *TCompactProtocol) WriteString(value string) error { method WriteBinary (line 314) | func (p *TCompactProtocol) WriteBinary(bin []byte) error { method ReadMessageBegin (line 331) | func (p *TCompactProtocol) ReadMessageBegin() (name string, typeId TMe... method ReadMessageEnd (line 364) | func (p *TCompactProtocol) ReadMessageEnd() error { return nil } method ReadStructBegin (line 368) | func (p *TCompactProtocol) ReadStructBegin() (name string, err error) { method ReadStructEnd (line 376) | func (p *TCompactProtocol) ReadStructEnd() error { method ReadFieldBegin (line 384) | func (p *TCompactProtocol) ReadFieldBegin() (name string, typeId TType... method ReadFieldEnd (line 425) | func (p *TCompactProtocol) ReadFieldEnd() error { return nil } method ReadMapBegin (line 430) | func (p *TCompactProtocol) ReadMapBegin() (keyType TType, valueType TT... method ReadMapEnd (line 454) | func (p *TCompactProtocol) ReadMapEnd() error { return nil } method ReadListBegin (line 460) | func (p *TCompactProtocol) ReadListBegin() (elemType TType, size int, ... method ReadListEnd (line 486) | func (p *TCompactProtocol) ReadListEnd() error { return nil } method ReadSetBegin (line 492) | func (p *TCompactProtocol) ReadSetBegin() (elemType TType, size int, e... method ReadSetEnd (line 496) | func (p *TCompactProtocol) ReadSetEnd() error { return nil } method ReadBool (line 501) | func (p *TCompactProtocol) ReadBool() (value bool, err error) { method ReadByte (line 511) | func (p *TCompactProtocol) ReadByte() (int8, error) { method ReadI16 (line 520) | func (p *TCompactProtocol) ReadI16() (value int16, err error) { method ReadI32 (line 526) | func (p *TCompactProtocol) ReadI32() (value int32, err error) { method ReadI64 (line 536) | func (p *TCompactProtocol) ReadI64() (value int64, err error) { method ReadDouble (line 546) | func (p *TCompactProtocol) ReadDouble() (value float64, err error) { method ReadString (line 556) | func (p *TCompactProtocol) ReadString() (value string, err error) { method ReadBinary (line 582) | func (p *TCompactProtocol) ReadBinary() (value []byte, err error) { method Flush (line 602) | func (p *TCompactProtocol) Flush() (err error) { method Skip (line 606) | func (p *TCompactProtocol) Skip(fieldType TType) (err error) { method Transport (line 610) | func (p *TCompactProtocol) Transport() TTransport { method writeCollectionBegin (line 620) | func (p *TCompactProtocol) writeCollectionBegin(elemType TType, size i... method writeVarint32 (line 634) | func (p *TCompactProtocol) writeVarint32(n int32) (int, error) { method writeVarint64 (line 656) | func (p *TCompactProtocol) writeVarint64(n int64) (int, error) { method int64ToZigzag (line 676) | func (p *TCompactProtocol) int64ToZigzag(l int64) int64 { method int32ToZigzag (line 682) | func (p *TCompactProtocol) int32ToZigzag(n int32) int32 { method fixedUint64ToBytes (line 686) | func (p *TCompactProtocol) fixedUint64ToBytes(n uint64, buf []byte) { method fixedInt64ToBytes (line 690) | func (p *TCompactProtocol) fixedInt64ToBytes(n int64, buf []byte) { method writeByteDirect (line 696) | func (p *TCompactProtocol) writeByteDirect(b byte) error { method writeIntAsByteDirect (line 701) | func (p *TCompactProtocol) writeIntAsByteDirect(n int) (int, error) { method readVarint32 (line 711) | func (p *TCompactProtocol) readVarint32() (int32, error) { method readVarint64 (line 720) | func (p *TCompactProtocol) readVarint64() (int64, error) { method readByteDirect (line 738) | func (p *TCompactProtocol) readByteDirect() (byte, error) { method zigzagToInt32 (line 747) | func (p *TCompactProtocol) zigzagToInt32(n int32) int32 { method zigzagToInt64 (line 753) | func (p *TCompactProtocol) zigzagToInt64(n int64) int64 { method bytesToInt64 (line 761) | func (p *TCompactProtocol) bytesToInt64(b []byte) int64 { method bytesToUint64 (line 768) | func (p *TCompactProtocol) bytesToUint64(b []byte) uint64 { method isBoolType (line 776) | func (p *TCompactProtocol) isBoolType(b byte) bool { method getTType (line 782) | func (p *TCompactProtocol) getTType(t tCompactType) (TType, error) { method getCompactType (line 813) | func (p *TCompactProtocol) getCompactType(t TType) tCompactType { function NewTCompactProtocol (line 109) | func NewTCompactProtocol(trans TTransport) *TCompactProtocol { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/compact_protocol_test.go function TestReadWriteCompactProtocol (line 27) | func TestReadWriteCompactProtocol(t *testing.T) { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/debug_protocol.go type TDebugProtocol (line 26) | type TDebugProtocol struct method WriteMessageBegin (line 50) | func (tdp *TDebugProtocol) WriteMessageBegin(name string, typeId TMess... method WriteMessageEnd (line 55) | func (tdp *TDebugProtocol) WriteMessageEnd() error { method WriteStructBegin (line 60) | func (tdp *TDebugProtocol) WriteStructBegin(name string) error { method WriteStructEnd (line 65) | func (tdp *TDebugProtocol) WriteStructEnd() error { method WriteFieldBegin (line 70) | func (tdp *TDebugProtocol) WriteFieldBegin(name string, typeId TType, ... method WriteFieldEnd (line 75) | func (tdp *TDebugProtocol) WriteFieldEnd() error { method WriteFieldStop (line 80) | func (tdp *TDebugProtocol) WriteFieldStop() error { method WriteMapBegin (line 85) | func (tdp *TDebugProtocol) WriteMapBegin(keyType TType, valueType TTyp... method WriteMapEnd (line 90) | func (tdp *TDebugProtocol) WriteMapEnd() error { method WriteListBegin (line 95) | func (tdp *TDebugProtocol) WriteListBegin(elemType TType, size int) er... method WriteListEnd (line 100) | func (tdp *TDebugProtocol) WriteListEnd() error { method WriteSetBegin (line 105) | func (tdp *TDebugProtocol) WriteSetBegin(elemType TType, size int) err... method WriteSetEnd (line 110) | func (tdp *TDebugProtocol) WriteSetEnd() error { method WriteBool (line 115) | func (tdp *TDebugProtocol) WriteBool(value bool) error { method WriteByte (line 120) | func (tdp *TDebugProtocol) WriteByte(value int8) error { method WriteI16 (line 125) | func (tdp *TDebugProtocol) WriteI16(value int16) error { method WriteI32 (line 130) | func (tdp *TDebugProtocol) WriteI32(value int32) error { method WriteI64 (line 135) | func (tdp *TDebugProtocol) WriteI64(value int64) error { method WriteDouble (line 140) | func (tdp *TDebugProtocol) WriteDouble(value float64) error { method WriteString (line 145) | func (tdp *TDebugProtocol) WriteString(value string) error { method WriteBinary (line 150) | func (tdp *TDebugProtocol) WriteBinary(value []byte) error { method ReadMessageBegin (line 156) | func (tdp *TDebugProtocol) ReadMessageBegin() (name string, typeId TMe... method ReadMessageEnd (line 161) | func (tdp *TDebugProtocol) ReadMessageEnd() (err error) { method ReadStructBegin (line 166) | func (tdp *TDebugProtocol) ReadStructBegin() (name string, err error) { method ReadStructEnd (line 171) | func (tdp *TDebugProtocol) ReadStructEnd() (err error) { method ReadFieldBegin (line 176) | func (tdp *TDebugProtocol) ReadFieldBegin() (name string, typeId TType... method ReadFieldEnd (line 181) | func (tdp *TDebugProtocol) ReadFieldEnd() (err error) { method ReadMapBegin (line 186) | func (tdp *TDebugProtocol) ReadMapBegin() (keyType TType, valueType TT... method ReadMapEnd (line 191) | func (tdp *TDebugProtocol) ReadMapEnd() (err error) { method ReadListBegin (line 196) | func (tdp *TDebugProtocol) ReadListBegin() (elemType TType, size int, ... method ReadListEnd (line 201) | func (tdp *TDebugProtocol) ReadListEnd() (err error) { method ReadSetBegin (line 206) | func (tdp *TDebugProtocol) ReadSetBegin() (elemType TType, size int, e... method ReadSetEnd (line 211) | func (tdp *TDebugProtocol) ReadSetEnd() (err error) { method ReadBool (line 216) | func (tdp *TDebugProtocol) ReadBool() (value bool, err error) { method ReadByte (line 221) | func (tdp *TDebugProtocol) ReadByte() (value int8, err error) { method ReadI16 (line 226) | func (tdp *TDebugProtocol) ReadI16() (value int16, err error) { method ReadI32 (line 231) | func (tdp *TDebugProtocol) ReadI32() (value int32, err error) { method ReadI64 (line 236) | func (tdp *TDebugProtocol) ReadI64() (value int64, err error) { method ReadDouble (line 241) | func (tdp *TDebugProtocol) ReadDouble() (value float64, err error) { method ReadString (line 246) | func (tdp *TDebugProtocol) ReadString() (value string, err error) { method ReadBinary (line 251) | func (tdp *TDebugProtocol) ReadBinary() (value []byte, err error) { method Skip (line 256) | func (tdp *TDebugProtocol) Skip(fieldType TType) (err error) { method Flush (line 261) | func (tdp *TDebugProtocol) Flush() (err error) { method Transport (line 267) | func (tdp *TDebugProtocol) Transport() TTransport { type TDebugProtocolFactory (line 31) | type TDebugProtocolFactory struct method GetProtocol (line 43) | func (t *TDebugProtocolFactory) GetProtocol(trans TTransport) TProtocol { function NewTDebugProtocolFactory (line 36) | func NewTDebugProtocolFactory(underlying TProtocolFactory, logPrefix str... FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/deserializer.go type TDeserializer (line 22) | type TDeserializer struct method ReadString (line 38) | func (t *TDeserializer) ReadString(msg TStruct, s string) (err error) { method Read (line 49) | func (t *TDeserializer) Read(msg TStruct, b []byte) (err error) { function NewTDeserializer (line 27) | func NewTDeserializer() *TDeserializer { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/exception.go type TException (line 27) | type TException interface function PrependError (line 32) | func PrependError(prepend string, err error) error { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/exception_test.go function TestPrependError (line 27) | func TestPrependError(t *testing.T) { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/field.go type field (line 23) | type field struct method Name (line 33) | func (p *field) Name() string { method TypeId (line 40) | func (p *field) TypeId() TType { method Id (line 47) | func (p *field) Id() int { method String (line 54) | func (p *field) String() string { function newField (line 29) | func newField(n string, t TType, i int) *field { type fieldSlice (line 63) | type fieldSlice method Len (line 65) | func (p fieldSlice) Len() int { method Less (line 69) | func (p fieldSlice) Less(i, j int) bool { method Swap (line 73) | func (p fieldSlice) Swap(i, j int) { function init (line 77) | func init() { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/framed_transport.go constant DEFAULT_MAX_LENGTH (line 30) | DEFAULT_MAX_LENGTH = 16384000 type TFramedTransport (line 32) | type TFramedTransport struct method Open (line 66) | func (p *TFramedTransport) Open() error { method IsOpen (line 70) | func (p *TFramedTransport) IsOpen() bool { method Close (line 74) | func (p *TFramedTransport) Close() error { method Read (line 78) | func (p *TFramedTransport) Read(buf []byte) (l int, err error) { method ReadByte (line 104) | func (p *TFramedTransport) ReadByte() (c byte, err error) { method Write (line 121) | func (p *TFramedTransport) Write(buf []byte) (int, error) { method WriteByte (line 126) | func (p *TFramedTransport) WriteByte(c byte) error { method WriteString (line 130) | func (p *TFramedTransport) WriteString(s string) (n int, err error) { method Flush (line 134) | func (p *TFramedTransport) Flush() error { method readFrameHeader (line 152) | func (p *TFramedTransport) readFrameHeader() (uint32, error) { method RemainingBytes (line 164) | func (p *TFramedTransport) RemainingBytes() (num_bytes uint64) { type tFramedTransportFactory (line 41) | type tFramedTransportFactory struct method GetTransport (line 54) | func (p *tFramedTransportFactory) GetTransport(base TTransport) TTrans... function NewTFramedTransportFactory (line 46) | func NewTFramedTransportFactory(factory TTransportFactory) TTransportFac... function NewTFramedTransportFactoryMaxLength (line 50) | func NewTFramedTransportFactoryMaxLength(factory TTransportFactory, maxL... function NewTFramedTransport (line 58) | func NewTFramedTransport(transport TTransport) *TFramedTransport { function NewTFramedTransportMaxLength (line 62) | func NewTFramedTransportMaxLength(transport TTransport, maxLength uint32... FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/framed_transport_test.go function TestFramedTransport (line 26) | func TestFramedTransport(t *testing.T) { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/http_client.go type THttpClient (line 36) | type THttpClient struct method SetHeader (line 138) | func (p *THttpClient) SetHeader(key string, value string) { method GetHeader (line 148) | func (p *THttpClient) GetHeader(key string) string { method DelHeader (line 158) | func (p *THttpClient) DelHeader(key string) { method Open (line 162) | func (p *THttpClient) Open() error { method IsOpen (line 167) | func (p *THttpClient) IsOpen() bool { method closeResponse (line 171) | func (p *THttpClient) closeResponse() error { method Close (line 188) | func (p *THttpClient) Close() error { method Read (line 196) | func (p *THttpClient) Read(buf []byte) (int, error) { method ReadByte (line 207) | func (p *THttpClient) ReadByte() (c byte, err error) { method Write (line 211) | func (p *THttpClient) Write(buf []byte) (int, error) { method WriteByte (line 216) | func (p *THttpClient) WriteByte(c byte) error { method WriteString (line 220) | func (p *THttpClient) WriteString(s string) (n int, err error) { method Flush (line 224) | func (p *THttpClient) Flush() error { method RemainingBytes (line 250) | func (p *THttpClient) RemainingBytes() (num_bytes uint64) { type THttpClientTransportFactory (line 46) | type THttpClientTransportFactory struct method GetTransport (line 52) | func (p *THttpClientTransportFactory) GetTransport(trans TTransport) T... type THttpClientOptions (line 72) | type THttpClientOptions struct function NewTHttpClientTransportFactory (line 77) | func NewTHttpClientTransportFactory(url string) *THttpClientTransportFac... function NewTHttpClientTransportFactoryWithOptions (line 81) | func NewTHttpClientTransportFactoryWithOptions(url string, options THttp... function NewTHttpPostClientTransportFactory (line 85) | func NewTHttpPostClientTransportFactory(url string) *THttpClientTranspor... function NewTHttpPostClientTransportFactoryWithOptions (line 89) | func NewTHttpPostClientTransportFactoryWithOptions(url string, options T... function NewTHttpClientWithOptions (line 93) | func NewTHttpClientWithOptions(urlstr string, options THttpClientOptions... function NewTHttpClient (line 110) | func NewTHttpClient(urlstr string) (TTransport, error) { function NewTHttpPostClientWithOptions (line 114) | func NewTHttpPostClientWithOptions(urlstr string, options THttpClientOpt... function NewTHttpPostClient (line 128) | func NewTHttpPostClient(urlstr string) (TTransport, error) { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/http_client_test.go function TestHttpClient (line 27) | func TestHttpClient(t *testing.T) { function TestHttpClientHeaders (line 40) | func TestHttpClientHeaders(t *testing.T) { function TestHttpCustomClient (line 53) | func TestHttpCustomClient(t *testing.T) { function TestHttpCustomClientPackageScope (line 77) | func TestHttpCustomClientPackageScope(t *testing.T) { type customHttpTransport (line 99) | type customHttpTransport struct method RoundTrip (line 103) | func (c *customHttpTransport) RoundTrip(req *http.Request) (*http.Resp... FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/http_transport.go function NewThriftHandlerFunc (line 25) | func NewThriftHandlerFunc(processor TProcessor, FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/iostream_transport.go type StreamTransport (line 28) | type StreamTransport struct method IsOpen (line 96) | func (p *StreamTransport) IsOpen() bool { method Open (line 101) | func (p *StreamTransport) Open() error { method Close (line 110) | func (p *StreamTransport) Close() error { method Flush (line 141) | func (p *StreamTransport) Flush() error { method Read (line 155) | func (p *StreamTransport) Read(c []byte) (n int, err error) { method ReadByte (line 163) | func (p *StreamTransport) ReadByte() (c byte, err error) { method Write (line 176) | func (p *StreamTransport) Write(c []byte) (n int, err error) { method WriteByte (line 184) | func (p *StreamTransport) WriteByte(c byte) (err error) { method WriteString (line 197) | func (p *StreamTransport) WriteString(s string) (n int, err error) { method RemainingBytes (line 210) | func (p *StreamTransport) RemainingBytes() (num_bytes uint64) { type StreamTransportFactory (line 35) | type StreamTransportFactory struct method GetTransport (line 41) | func (p *StreamTransportFactory) GetTransport(trans TTransport) TTrans... function NewStreamTransportFactory (line 75) | func NewStreamTransportFactory(reader io.Reader, writer io.Writer, isRea... function NewStreamTransport (line 79) | func NewStreamTransport(r io.Reader, w io.Writer) *StreamTransport { function NewStreamTransportR (line 83) | func NewStreamTransportR(r io.Reader) *StreamTransport { function NewStreamTransportW (line 87) | func NewStreamTransportW(w io.Writer) *StreamTransport { function NewStreamTransportRW (line 91) | func NewStreamTransportRW(rw io.ReadWriter) *StreamTransport { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/iostream_transport_test.go function TestStreamTransport (line 27) | func TestStreamTransport(t *testing.T) { function TestStreamTransportOpenClose (line 32) | func TestStreamTransportOpenClose(t *testing.T) { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/json_protocol.go constant THRIFT_JSON_PROTOCOL_VERSION (line 28) | THRIFT_JSON_PROTOCOL_VERSION = 1 type TJSONProtocol (line 39) | type TJSONProtocol struct method WriteMessageBegin (line 62) | func (p *TJSONProtocol) WriteMessageBegin(name string, typeId TMessage... method WriteMessageEnd (line 82) | func (p *TJSONProtocol) WriteMessageEnd() error { method WriteStructBegin (line 86) | func (p *TJSONProtocol) WriteStructBegin(name string) error { method WriteStructEnd (line 93) | func (p *TJSONProtocol) WriteStructEnd() error { method WriteFieldBegin (line 97) | func (p *TJSONProtocol) WriteFieldBegin(name string, typeId TType, id ... method WriteFieldEnd (line 114) | func (p *TJSONProtocol) WriteFieldEnd() error { method WriteFieldStop (line 118) | func (p *TJSONProtocol) WriteFieldStop() error { return nil } method WriteMapBegin (line 120) | func (p *TJSONProtocol) WriteMapBegin(keyType TType, valueType TType, ... method WriteMapEnd (line 144) | func (p *TJSONProtocol) WriteMapEnd() error { method WriteListBegin (line 151) | func (p *TJSONProtocol) WriteListBegin(elemType TType, size int) error { method WriteListEnd (line 155) | func (p *TJSONProtocol) WriteListEnd() error { method WriteSetBegin (line 159) | func (p *TJSONProtocol) WriteSetBegin(elemType TType, size int) error { method WriteSetEnd (line 163) | func (p *TJSONProtocol) WriteSetEnd() error { method WriteBool (line 167) | func (p *TJSONProtocol) WriteBool(b bool) error { method WriteByte (line 174) | func (p *TJSONProtocol) WriteByte(b int8) error { method WriteI16 (line 178) | func (p *TJSONProtocol) WriteI16(v int16) error { method WriteI32 (line 182) | func (p *TJSONProtocol) WriteI32(v int32) error { method WriteI64 (line 186) | func (p *TJSONProtocol) WriteI64(v int64) error { method WriteDouble (line 190) | func (p *TJSONProtocol) WriteDouble(v float64) error { method WriteString (line 194) | func (p *TJSONProtocol) WriteString(v string) error { method WriteBinary (line 198) | func (p *TJSONProtocol) WriteBinary(v []byte) error { method ReadMessageBegin (line 224) | func (p *TJSONProtocol) ReadMessageBegin() (name string, typeId TMessa... method ReadMessageEnd (line 252) | func (p *TJSONProtocol) ReadMessageEnd() error { method ReadStructBegin (line 257) | func (p *TJSONProtocol) ReadStructBegin() (name string, err error) { method ReadStructEnd (line 262) | func (p *TJSONProtocol) ReadStructEnd() error { method ReadFieldBegin (line 266) | func (p *TJSONProtocol) ReadFieldBegin() (string, TType, int16, error) { method ReadFieldEnd (line 286) | func (p *TJSONProtocol) ReadFieldEnd() error { method ReadMapBegin (line 290) | func (p *TJSONProtocol) ReadMapBegin() (keyType TType, valueType TType... method ReadMapEnd (line 326) | func (p *TJSONProtocol) ReadMapEnd() error { method ReadListBegin (line 334) | func (p *TJSONProtocol) ReadListBegin() (elemType TType, size int, e e... method ReadListEnd (line 338) | func (p *TJSONProtocol) ReadListEnd() error { method ReadSetBegin (line 342) | func (p *TJSONProtocol) ReadSetBegin() (elemType TType, size int, e er... method ReadSetEnd (line 346) | func (p *TJSONProtocol) ReadSetEnd() error { method ReadBool (line 350) | func (p *TJSONProtocol) ReadBool() (bool, error) { method ReadByte (line 355) | func (p *TJSONProtocol) ReadByte() (int8, error) { method ReadI16 (line 360) | func (p *TJSONProtocol) ReadI16() (int16, error) { method ReadI32 (line 365) | func (p *TJSONProtocol) ReadI32() (int32, error) { method ReadI64 (line 370) | func (p *TJSONProtocol) ReadI64() (int64, error) { method ReadDouble (line 375) | func (p *TJSONProtocol) ReadDouble() (float64, error) { method ReadString (line 380) | func (p *TJSONProtocol) ReadString() (string, error) { method ReadBinary (line 410) | func (p *TJSONProtocol) ReadBinary() ([]byte, error) { method Flush (line 441) | func (p *TJSONProtocol) Flush() (err error) { method Skip (line 449) | func (p *TJSONProtocol) Skip(fieldType TType) (err error) { method Transport (line 453) | func (p *TJSONProtocol) Transport() TTransport { method OutputElemListBegin (line 457) | func (p *TJSONProtocol) OutputElemListBegin(elemType TType, size int) ... method ParseElemListBegin (line 474) | func (p *TJSONProtocol) ParseElemListBegin() (elemType TType, size int... method readElemListBegin (line 491) | func (p *TJSONProtocol) readElemListBegin() (elemType TType, size int,... method writeElemListBegin (line 508) | func (p *TJSONProtocol) writeElemListBegin(elemType TType, size int) e... method TypeIdToString (line 525) | func (p *TJSONProtocol) TypeIdToString(fieldType TType) (string, error) { method StringToTypeId (line 555) | func (p *TJSONProtocol) StringToTypeId(fieldType string) (TType, error) { function NewTJSONProtocol (line 44) | func NewTJSONProtocol(t TTransport) *TJSONProtocol { type TJSONProtocolFactory (line 52) | type TJSONProtocolFactory struct method GetProtocol (line 54) | func (p *TJSONProtocolFactory) GetProtocol(trans TTransport) TProtocol { function NewTJSONProtocolFactory (line 58) | func NewTJSONProtocolFactory() *TJSONProtocolFactory { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/json_protocol_test.go function TestWriteJSONProtocolBool (line 31) | func TestWriteJSONProtocolBool(t *testing.T) { function TestReadJSONProtocolBool (line 61) | func TestReadJSONProtocolBool(t *testing.T) { function TestWriteJSONProtocolByte (line 89) | func TestWriteJSONProtocolByte(t *testing.T) { function TestReadJSONProtocolByte (line 113) | func TestReadJSONProtocolByte(t *testing.T) { function TestWriteJSONProtocolI16 (line 136) | func TestWriteJSONProtocolI16(t *testing.T) { function TestReadJSONProtocolI16 (line 160) | func TestReadJSONProtocolI16(t *testing.T) { function TestWriteJSONProtocolI32 (line 183) | func TestWriteJSONProtocolI32(t *testing.T) { function TestReadJSONProtocolI32 (line 207) | func TestReadJSONProtocolI32(t *testing.T) { function TestWriteJSONProtocolI64 (line 230) | func TestWriteJSONProtocolI64(t *testing.T) { function TestReadJSONProtocolI64 (line 254) | func TestReadJSONProtocolI64(t *testing.T) { function TestWriteJSONProtocolDouble (line 277) | func TestWriteJSONProtocolDouble(t *testing.T) { function TestReadJSONProtocolDouble (line 315) | func TestReadJSONProtocolDouble(t *testing.T) { function TestWriteJSONProtocolString (line 353) | func TestWriteJSONProtocolString(t *testing.T) { function TestReadJSONProtocolString (line 377) | func TestReadJSONProtocolString(t *testing.T) { function TestWriteJSONProtocolBinary (line 401) | func TestWriteJSONProtocolBinary(t *testing.T) { function TestReadJSONProtocolBinary (line 435) | func TestReadJSONProtocolBinary(t *testing.T) { function TestWriteJSONProtocolList (line 466) | func TestWriteJSONProtocolList(t *testing.T) { function TestWriteJSONProtocolSet (line 520) | func TestWriteJSONProtocolSet(t *testing.T) { function TestWriteJSONProtocolMap (line 574) | func TestWriteJSONProtocolMap(t *testing.T) { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/lowlevel_benchmarks_test.go function BenchmarkBinaryBool_0 (line 38) | func BenchmarkBinaryBool_0(b *testing.B) { function BenchmarkBinaryByte_0 (line 46) | func BenchmarkBinaryByte_0(b *testing.B) { function BenchmarkBinaryI16_0 (line 54) | func BenchmarkBinaryI16_0(b *testing.B) { function BenchmarkBinaryI32_0 (line 62) | func BenchmarkBinaryI32_0(b *testing.B) { function BenchmarkBinaryI64_0 (line 69) | func BenchmarkBinaryI64_0(b *testing.B) { function BenchmarkBinaryDouble_0 (line 76) | func BenchmarkBinaryDouble_0(b *testing.B) { function BenchmarkBinaryString_0 (line 83) | func BenchmarkBinaryString_0(b *testing.B) { function BenchmarkBinaryBinary_0 (line 90) | func BenchmarkBinaryBinary_0(b *testing.B) { function BenchmarkBinaryBool_1 (line 98) | func BenchmarkBinaryBool_1(b *testing.B) { function BenchmarkBinaryByte_1 (line 106) | func BenchmarkBinaryByte_1(b *testing.B) { function BenchmarkBinaryI16_1 (line 114) | func BenchmarkBinaryI16_1(b *testing.B) { function BenchmarkBinaryI32_1 (line 122) | func BenchmarkBinaryI32_1(b *testing.B) { function BenchmarkBinaryI64_1 (line 129) | func BenchmarkBinaryI64_1(b *testing.B) { function BenchmarkBinaryDouble_1 (line 136) | func BenchmarkBinaryDouble_1(b *testing.B) { function BenchmarkBinaryString_1 (line 143) | func BenchmarkBinaryString_1(b *testing.B) { function BenchmarkBinaryBinary_1 (line 150) | func BenchmarkBinaryBinary_1(b *testing.B) { function BenchmarkBinaryBool_2 (line 158) | func BenchmarkBinaryBool_2(b *testing.B) { function BenchmarkBinaryByte_2 (line 166) | func BenchmarkBinaryByte_2(b *testing.B) { function BenchmarkBinaryI16_2 (line 174) | func BenchmarkBinaryI16_2(b *testing.B) { function BenchmarkBinaryI32_2 (line 182) | func BenchmarkBinaryI32_2(b *testing.B) { function BenchmarkBinaryI64_2 (line 189) | func BenchmarkBinaryI64_2(b *testing.B) { function BenchmarkBinaryDouble_2 (line 196) | func BenchmarkBinaryDouble_2(b *testing.B) { function BenchmarkBinaryString_2 (line 203) | func BenchmarkBinaryString_2(b *testing.B) { function BenchmarkBinaryBinary_2 (line 210) | func BenchmarkBinaryBinary_2(b *testing.B) { function BenchmarkCompactBool_0 (line 218) | func BenchmarkCompactBool_0(b *testing.B) { function BenchmarkCompactByte_0 (line 226) | func BenchmarkCompactByte_0(b *testing.B) { function BenchmarkCompactI16_0 (line 234) | func BenchmarkCompactI16_0(b *testing.B) { function BenchmarkCompactI32_0 (line 242) | func BenchmarkCompactI32_0(b *testing.B) { function BenchmarkCompactI64_0 (line 249) | func BenchmarkCompactI64_0(b *testing.B) { function BenchmarkCompactDouble0 (line 256) | func BenchmarkCompactDouble0(b *testing.B) { function BenchmarkCompactString0 (line 263) | func BenchmarkCompactString0(b *testing.B) { function BenchmarkCompactBinary0 (line 270) | func BenchmarkCompactBinary0(b *testing.B) { function BenchmarkCompactBool_1 (line 278) | func BenchmarkCompactBool_1(b *testing.B) { function BenchmarkCompactByte_1 (line 286) | func BenchmarkCompactByte_1(b *testing.B) { function BenchmarkCompactI16_1 (line 294) | func BenchmarkCompactI16_1(b *testing.B) { function BenchmarkCompactI32_1 (line 302) | func BenchmarkCompactI32_1(b *testing.B) { function BenchmarkCompactI64_1 (line 309) | func BenchmarkCompactI64_1(b *testing.B) { function BenchmarkCompactDouble1 (line 316) | func BenchmarkCompactDouble1(b *testing.B) { function BenchmarkCompactString1 (line 323) | func BenchmarkCompactString1(b *testing.B) { function BenchmarkCompactBinary1 (line 330) | func BenchmarkCompactBinary1(b *testing.B) { function BenchmarkCompactBool_2 (line 338) | func BenchmarkCompactBool_2(b *testing.B) { function BenchmarkCompactByte_2 (line 346) | func BenchmarkCompactByte_2(b *testing.B) { function BenchmarkCompactI16_2 (line 354) | func BenchmarkCompactI16_2(b *testing.B) { function BenchmarkCompactI32_2 (line 362) | func BenchmarkCompactI32_2(b *testing.B) { function BenchmarkCompactI64_2 (line 369) | func BenchmarkCompactI64_2(b *testing.B) { function BenchmarkCompactDouble2 (line 376) | func BenchmarkCompactDouble2(b *testing.B) { function BenchmarkCompactString2 (line 383) | func BenchmarkCompactString2(b *testing.B) { function BenchmarkCompactBinary2 (line 390) | func BenchmarkCompactBinary2(b *testing.B) { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/memory_buffer.go type TMemoryBuffer (line 27) | type TMemoryBuffer struct method IsOpen (line 59) | func (p *TMemoryBuffer) IsOpen() bool { method Open (line 63) | func (p *TMemoryBuffer) Open() error { method Close (line 67) | func (p *TMemoryBuffer) Close() error { method Flush (line 73) | func (p *TMemoryBuffer) Flush() error { method RemainingBytes (line 77) | func (p *TMemoryBuffer) RemainingBytes() (num_bytes uint64) { type TMemoryBufferTransportFactory (line 32) | type TMemoryBufferTransportFactory struct method GetTransport (line 36) | func (p *TMemoryBufferTransportFactory) GetTransport(trans TTransport)... function NewTMemoryBufferTransportFactory (line 46) | func NewTMemoryBufferTransportFactory(size int) *TMemoryBufferTransportF... function NewTMemoryBuffer (line 50) | func NewTMemoryBuffer() *TMemoryBuffer { function NewTMemoryBufferLen (line 54) | func NewTMemoryBufferLen(size int) *TMemoryBuffer { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/memory_buffer_test.go function TestMemoryBuffer (line 26) | func TestMemoryBuffer(t *testing.T) { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/messagetype.go type TMessageType (line 23) | type TMessageType constant INVALID_TMESSAGE_TYPE (line 26) | INVALID_TMESSAGE_TYPE TMessageType = 0 constant CALL (line 27) | CALL TMessageType = 1 constant REPLY (line 28) | REPLY TMessageType = 2 constant EXCEPTION (line 29) | EXCEPTION TMessageType = 3 constant ONEWAY (line 30) | ONEWAY TMessageType = 4 FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/multiplexed_protocol.go type TMultiplexedProtocol (line 56) | type TMultiplexedProtocol struct method WriteMessageBegin (line 70) | func (t *TMultiplexedProtocol) WriteMessageBegin(name string, typeId T... constant MULTIPLEXED_SEPARATOR (line 61) | MULTIPLEXED_SEPARATOR = ":" function NewTMultiplexedProtocol (line 63) | func NewTMultiplexedProtocol(protocol TProtocol, serviceName string) *TM... type TMultiplexedProcessor (line 108) | type TMultiplexedProcessor struct method RegisterDefault (line 119) | func (t *TMultiplexedProcessor) RegisterDefault(processor TProcessor) { method RegisterProcessor (line 123) | func (t *TMultiplexedProcessor) RegisterProcessor(name string, process... method Process (line 130) | func (t *TMultiplexedProcessor) Process(in, out TProtocol) (bool, TExc... function NewTMultiplexedProcessor (line 113) | func NewTMultiplexedProcessor() *TMultiplexedProcessor { type storedMessageProtocol (line 156) | type storedMessageProtocol struct method ReadMessageBegin (line 167) | func (s *storedMessageProtocol) ReadMessageBegin() (name string, typeI... function NewStoredMessageProtocol (line 163) | func NewStoredMessageProtocol(protocol TProtocol, name string, typeId TM... FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/numeric.go type Numeric (line 27) | type Numeric interface type numeric (line 39) | type numeric struct method Int64 (line 122) | func (p *numeric) Int64() int64 { method Int32 (line 126) | func (p *numeric) Int32() int32 { method Int16 (line 130) | func (p *numeric) Int16() int16 { method Byte (line 134) | func (p *numeric) Byte() byte { method Int (line 138) | func (p *numeric) Int() int { method Float64 (line 142) | func (p *numeric) Float64() float64 { method Float32 (line 146) | func (p *numeric) Float32() float32 { method String (line 150) | func (p *numeric) String() string { method isNull (line 154) | func (p *numeric) isNull() bool { function NewNumericFromDouble (line 54) | func NewNumericFromDouble(dValue float64) Numeric { function NewNumericFromI64 (line 70) | func NewNumericFromI64(iValue int64) Numeric { function NewNumericFromI32 (line 77) | func NewNumericFromI32(iValue int32) Numeric { function NewNumericFromString (line 84) | func NewNumericFromString(sValue string) Numeric { function NewNumericFromJSONString (line 100) | func NewNumericFromJSONString(sValue string, isNull bool) Numeric { function NewNullNumeric (line 118) | func NewNullNumeric() Numeric { function init (line 158) | func init() { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/pointerize.go function Float32Ptr (line 41) | func Float32Ptr(v float32) *float32 { return &v } function Float64Ptr (line 42) | func Float64Ptr(v float64) *float64 { return &v } function IntPtr (line 43) | func IntPtr(v int) *int { return &v } function Int32Ptr (line 44) | func Int32Ptr(v int32) *int32 { return &v } function Int64Ptr (line 45) | func Int64Ptr(v int64) *int64 { return &v } function StringPtr (line 46) | func StringPtr(v string) *string { return &v } function Uint32Ptr (line 47) | func Uint32Ptr(v uint32) *uint32 { return &v } function Uint64Ptr (line 48) | func Uint64Ptr(v uint64) *uint64 { return &v } function BoolPtr (line 49) | func BoolPtr(v bool) *bool { return &v } function ByteSlicePtr (line 50) | func ByteSlicePtr(v []byte) *[]byte { return &v } FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/processor.go type TProcessor (line 24) | type TProcessor interface type TProcessorFunction (line 28) | type TProcessorFunction interface FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/processor_factory.go type TProcessorFactory (line 24) | type TProcessorFactory interface type tProcessorFactory (line 28) | type tProcessorFactory struct method GetProcessor (line 36) | func (p *tProcessorFactory) GetProcessor(trans TTransport) TProcessor { function NewTProcessorFactory (line 32) | func NewTProcessorFactory(p TProcessor) TProcessorFactory { type TProcessorFunctionFactory (line 44) | type TProcessorFunctionFactory interface type tProcessorFunctionFactory (line 48) | type tProcessorFunctionFactory struct method GetProcessorFunction (line 56) | func (p *tProcessorFunctionFactory) GetProcessorFunction(trans TTransp... function NewTProcessorFunctionFactory (line 52) | func NewTProcessorFunctionFactory(p TProcessorFunction) TProcessorFuncti... FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/protocol.go constant VERSION_MASK (line 28) | VERSION_MASK = 0xffff0000 constant VERSION_1 (line 29) | VERSION_1 = 0x80010000 type TProtocol (line 32) | type TProtocol interface constant DEFAULT_RECURSION_DEPTH (line 83) | DEFAULT_RECURSION_DEPTH = 64 function SkipDefaultDepth (line 86) | func SkipDefaultDepth(prot TProtocol, typeId TType) (err error) { function Skip (line 91) | func Skip(self TProtocol, fieldType TType, maxDepth int) (err error) { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/protocol_exception.go type TProtocolException (line 27) | type TProtocolException interface constant UNKNOWN_PROTOCOL_EXCEPTION (line 33) | UNKNOWN_PROTOCOL_EXCEPTION = 0 constant INVALID_DATA (line 34) | INVALID_DATA = 1 constant NEGATIVE_SIZE (line 35) | NEGATIVE_SIZE = 2 constant SIZE_LIMIT (line 36) | SIZE_LIMIT = 3 constant BAD_VERSION (line 37) | BAD_VERSION = 4 constant NOT_IMPLEMENTED (line 38) | NOT_IMPLEMENTED = 5 constant DEPTH_LIMIT (line 39) | DEPTH_LIMIT = 6 type tProtocolException (line 42) | type tProtocolException struct method TypeId (line 47) | func (p *tProtocolException) TypeId() int { method String (line 51) | func (p *tProtocolException) String() string { method Error (line 55) | func (p *tProtocolException) Error() string { function NewTProtocolException (line 59) | func NewTProtocolException(err error) TProtocolException { function NewTProtocolExceptionWithType (line 72) | func NewTProtocolExceptionWithType(errType int, err error) TProtocolExce... FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/protocol_factory.go type TProtocolFactory (line 23) | type TProtocolFactory interface FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/protocol_test.go constant PROTOCOL_BINARY_DATA_SIZE (line 31) | PROTOCOL_BINARY_DATA_SIZE = 155 function init (line 45) | func init() { type HTTPEchoServer (line 60) | type HTTPEchoServer struct method ServeHTTP (line 63) | func (p *HTTPEchoServer) ServeHTTP(w http.ResponseWriter, req *http.Re... type HTTPHeaderEchoServer (line 61) | type HTTPHeaderEchoServer struct method ServeHTTP (line 74) | func (p *HTTPHeaderEchoServer) ServeHTTP(w http.ResponseWriter, req *h... function HttpClientSetupForTest (line 85) | func HttpClientSetupForTest(t *testing.T) (net.Listener, net.Addr) { function HttpClientSetupForHeaderTest (line 100) | func HttpClientSetupForHeaderTest(t *testing.T) (net.Listener, net.Addr) { function ReadWriteProtocolTest (line 115) | func ReadWriteProtocolTest(t *testing.T, protocolFactory TProtocolFactor... function ReadWriteBool (line 184) | func ReadWriteBool(t testing.TB, p TProtocol, trans TTransport) { function ReadWriteByte (line 230) | func ReadWriteByte(t testing.TB, p TProtocol, trans TTransport) { function ReadWriteI16 (line 279) | func ReadWriteI16(t testing.TB, p TProtocol, trans TTransport) { function ReadWriteI32 (line 316) | func ReadWriteI32(t testing.TB, p TProtocol, trans TTransport) { function ReadWriteI64 (line 352) | func ReadWriteI64(t testing.TB, p TProtocol, trans TTransport) { function ReadWriteDouble (line 388) | func ReadWriteDouble(t testing.TB, p TProtocol, trans TTransport) { function ReadWriteString (line 426) | func ReadWriteString(t testing.TB, p TProtocol, trans TTransport) { function ReadWriteBinary (line 462) | func ReadWriteBinary(t testing.TB, p TProtocol, trans TTransport) { function UnmatchedBeginEndProtocolTest (line 481) | func UnmatchedBeginEndProtocolTest(t *testing.T, protocolFactory TProtoc... FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/rich_transport.go type RichTransport (line 24) | type RichTransport struct method ReadByte (line 33) | func (r *RichTransport) ReadByte() (c byte, err error) { method WriteByte (line 37) | func (r *RichTransport) WriteByte(c byte) error { method WriteString (line 41) | func (r *RichTransport) WriteString(s string) (n int, err error) { method RemainingBytes (line 45) | func (r *RichTransport) RemainingBytes() (num_bytes uint64) { function NewTRichTransport (line 29) | func NewTRichTransport(trans TTransport) *RichTransport { function readByte (line 49) | func readByte(r io.Reader) (c byte, err error) { function writeByte (line 64) | func writeByte(w io.Writer, c byte) error { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/rich_transport_test.go function TestEnsureTransportsAreRich (line 30) | func TestEnsureTransportsAreRich(t *testing.T) { function TestReadByte (line 49) | func TestReadByte(t *testing.T) { type mockReader (line 74) | type mockReader struct method Read (line 80) | func (r *mockReader) Read(p []byte) (n int, err error) { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/serializer.go type TSerializer (line 22) | type TSerializer struct method WriteString (line 41) | func (t *TSerializer) WriteString(msg TStruct) (s string, err error) { method Write (line 58) | func (t *TSerializer) Write(msg TStruct) (b []byte, err error) { type TStruct (line 27) | type TStruct interface function NewTSerializer (line 32) | func NewTSerializer() *TSerializer { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/serializer_test.go type ProtocolFactory (line 28) | type ProtocolFactory interface function compareStructs (line 32) | func compareStructs(m, m1 MyTestStruct) (bool, error) { function ProtocolTest1 (line 74) | func ProtocolTest1(test *testing.T, pf ProtocolFactory) (bool, error) { function ProtocolTest2 (line 108) | func ProtocolTest2(test *testing.T, pf ProtocolFactory) (bool, error) { function TestSerializer (line 143) | func TestSerializer(t *testing.T) { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/serializer_types_test.go type MyTestEnum (line 60) | type MyTestEnum method String (line 69) | func (p MyTestEnum) String() string { constant MyTestEnum_FIRST (line 63) | MyTestEnum_FIRST MyTestEnum = 1 constant MyTestEnum_SECOND (line 64) | MyTestEnum_SECOND MyTestEnum = 2 constant MyTestEnum_THIRD (line 65) | MyTestEnum_THIRD MyTestEnum = 3 constant MyTestEnum_FOURTH (line 66) | MyTestEnum_FOURTH MyTestEnum = 4 function MyTestEnumFromString (line 83) | func MyTestEnumFromString(s string) (MyTestEnum, error) { function MyTestEnumPtr (line 97) | func MyTestEnumPtr(v MyTestEnum) *MyTestEnum { return &v } type MyTestStruct (line 99) | type MyTestStruct struct method GetOn (line 118) | func (p *MyTestStruct) GetOn() bool { method GetB (line 122) | func (p *MyTestStruct) GetB() int8 { method GetInt16 (line 126) | func (p *MyTestStruct) GetInt16() int16 { method GetInt32 (line 130) | func (p *MyTestStruct) GetInt32() int32 { method GetInt64 (line 134) | func (p *MyTestStruct) GetInt64() int64 { method GetD (line 138) | func (p *MyTestStruct) GetD() float64 { method GetSt (line 142) | func (p *MyTestStruct) GetSt() string { method GetBin (line 146) | func (p *MyTestStruct) GetBin() []byte { method GetStringMap (line 150) | func (p *MyTestStruct) GetStringMap() map[string]string { method GetStringList (line 154) | func (p *MyTestStruct) GetStringList() []string { method GetStringSet (line 158) | func (p *MyTestStruct) GetStringSet() map[string]struct{} { method GetE (line 162) | func (p *MyTestStruct) GetE() MyTestEnum { method Read (line 165) | func (p *MyTestStruct) Read(iprot TProtocol) error { method readField1 (line 241) | func (p *MyTestStruct) readField1(iprot TProtocol) error { method readField2 (line 250) | func (p *MyTestStruct) readField2(iprot TProtocol) error { method readField3 (line 260) | func (p *MyTestStruct) readField3(iprot TProtocol) error { method readField4 (line 269) | func (p *MyTestStruct) readField4(iprot TProtocol) error { method readField5 (line 278) | func (p *MyTestStruct) readField5(iprot TProtocol) error { method readField6 (line 287) | func (p *MyTestStruct) readField6(iprot TProtocol) error { method readField7 (line 296) | func (p *MyTestStruct) readField7(iprot TProtocol) error { method readField8 (line 305) | func (p *MyTestStruct) readField8(iprot TProtocol) error { method readField9 (line 314) | func (p *MyTestStruct) readField9(iprot TProtocol) error { method readField10 (line 342) | func (p *MyTestStruct) readField10(iprot TProtocol) error { method readField11 (line 364) | func (p *MyTestStruct) readField11(iprot TProtocol) error { method readField12 (line 386) | func (p *MyTestStruct) readField12(iprot TProtocol) error { method Write (line 396) | func (p *MyTestStruct) Write(oprot TProtocol) error { method writeField1 (line 445) | func (p *MyTestStruct) writeField1(oprot TProtocol) (err error) { method writeField2 (line 458) | func (p *MyTestStruct) writeField2(oprot TProtocol) (err error) { method writeField3 (line 471) | func (p *MyTestStruct) writeField3(oprot TProtocol) (err error) { method writeField4 (line 484) | func (p *MyTestStruct) writeField4(oprot TProtocol) (err error) { method writeField5 (line 497) | func (p *MyTestStruct) writeField5(oprot TProtocol) (err error) { method writeField6 (line 510) | func (p *MyTestStruct) writeField6(oprot TProtocol) (err error) { method writeField7 (line 523) | func (p *MyTestStruct) writeField7(oprot TProtocol) (err error) { method writeField8 (line 536) | func (p *MyTestStruct) writeField8(oprot TProtocol) (err error) { method writeField9 (line 549) | func (p *MyTestStruct) writeField9(oprot TProtocol) (err error) { method writeField10 (line 573) | func (p *MyTestStruct) writeField10(oprot TProtocol) (err error) { method writeField11 (line 594) | func (p *MyTestStruct) writeField11(oprot TProtocol) (err error) { method writeField12 (line 615) | func (p *MyTestStruct) writeField12(oprot TProtocol) (err error) { method String (line 628) | func (p *MyTestStruct) String() string { function NewMyTestStruct (line 114) | func NewMyTestStruct() *MyTestStruct { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/server.go type TServer (line 22) | type TServer interface FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/server_socket.go type TServerSocket (line 28) | type TServerSocket struct method Listen (line 50) | func (p *TServerSocket) Listen() error { method Accept (line 62) | func (p *TServerSocket) Accept() (TTransport, error) { method IsListening (line 81) | func (p *TServerSocket) IsListening() bool { method Open (line 86) | func (p *TServerSocket) Open() error { method Addr (line 98) | func (p *TServerSocket) Addr() net.Addr { method Close (line 105) | func (p *TServerSocket) Close() error { method Interrupt (line 115) | func (p *TServerSocket) Interrupt() error { function NewTServerSocket (line 38) | func NewTServerSocket(listenAddr string) (*TServerSocket, error) { function NewTServerSocketTimeout (line 42) | func NewTServerSocketTimeout(listenAddr string, clientTimeout time.Durat... FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/server_socket_test.go function TestSocketIsntListeningAfterInterrupt (line 27) | func TestSocketIsntListeningAfterInterrupt(t *testing.T) { function CreateServerSocket (line 44) | func CreateServerSocket(t *testing.T, addr string) *TServerSocket { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/server_test.go function TestNothing (line 26) | func TestNothing(t *testing.T) { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/server_transport.go type TServerTransport (line 23) | type TServerTransport interface FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/simple_json_protocol.go type _ParseContext (line 33) | type _ParseContext method String (line 44) | func (p _ParseContext) String() string { constant _CONTEXT_IN_TOPLEVEL (line 36) | _CONTEXT_IN_TOPLEVEL _ParseContext = 1 constant _CONTEXT_IN_LIST_FIRST (line 37) | _CONTEXT_IN_LIST_FIRST _ParseContext = 2 constant _CONTEXT_IN_LIST (line 38) | _CONTEXT_IN_LIST _ParseContext = 3 constant _CONTEXT_IN_OBJECT_FIRST (line 39) | _CONTEXT_IN_OBJECT_FIRST _ParseContext = 4 constant _CONTEXT_IN_OBJECT_NEXT_KEY (line 40) | _CONTEXT_IN_OBJECT_NEXT_KEY _ParseContext = 5 constant _CONTEXT_IN_OBJECT_NEXT_VALUE (line 41) | _CONTEXT_IN_OBJECT_NEXT_VALUE _ParseContext = 6 type TSimpleJSONProtocol (line 68) | type TSimpleJSONProtocol struct method WriteMessageBegin (line 158) | func (p *TSimpleJSONProtocol) WriteMessageBegin(name string, typeId TM... method WriteMessageEnd (line 175) | func (p *TSimpleJSONProtocol) WriteMessageEnd() error { method WriteStructBegin (line 179) | func (p *TSimpleJSONProtocol) WriteStructBegin(name string) error { method WriteStructEnd (line 186) | func (p *TSimpleJSONProtocol) WriteStructEnd() error { method WriteFieldBegin (line 190) | func (p *TSimpleJSONProtocol) WriteFieldBegin(name string, typeId TTyp... method WriteFieldEnd (line 197) | func (p *TSimpleJSONProtocol) WriteFieldEnd() error { method WriteFieldStop (line 202) | func (p *TSimpleJSONProtocol) WriteFieldStop() error { return nil } method WriteMapBegin (line 204) | func (p *TSimpleJSONProtocol) WriteMapBegin(keyType TType, valueType T... method WriteMapEnd (line 217) | func (p *TSimpleJSONProtocol) WriteMapEnd() error { method WriteListBegin (line 221) | func (p *TSimpleJSONProtocol) WriteListBegin(elemType TType, size int)... method WriteListEnd (line 225) | func (p *TSimpleJSONProtocol) WriteListEnd() error { method WriteSetBegin (line 229) | func (p *TSimpleJSONProtocol) WriteSetBegin(elemType TType, size int) ... method WriteSetEnd (line 233) | func (p *TSimpleJSONProtocol) WriteSetEnd() error { method WriteBool (line 237) | func (p *TSimpleJSONProtocol) WriteBool(b bool) error { method WriteByte (line 241) | func (p *TSimpleJSONProtocol) WriteByte(b int8) error { method WriteI16 (line 245) | func (p *TSimpleJSONProtocol) WriteI16(v int16) error { method WriteI32 (line 249) | func (p *TSimpleJSONProtocol) WriteI32(v int32) error { method WriteI64 (line 253) | func (p *TSimpleJSONProtocol) WriteI64(v int64) error { method WriteDouble (line 257) | func (p *TSimpleJSONProtocol) WriteDouble(v float64) error { method WriteString (line 261) | func (p *TSimpleJSONProtocol) WriteString(v string) error { method WriteBinary (line 265) | func (p *TSimpleJSONProtocol) WriteBinary(v []byte) error { method ReadMessageBegin (line 291) | func (p *TSimpleJSONProtocol) ReadMessageBegin() (name string, typeId ... method ReadMessageEnd (line 310) | func (p *TSimpleJSONProtocol) ReadMessageEnd() error { method ReadStructBegin (line 314) | func (p *TSimpleJSONProtocol) ReadStructBegin() (name string, err erro... method ReadStructEnd (line 319) | func (p *TSimpleJSONProtocol) ReadStructEnd() error { method ReadFieldBegin (line 323) | func (p *TSimpleJSONProtocol) ReadFieldBegin() (string, TType, int16, ... method ReadFieldEnd (line 364) | func (p *TSimpleJSONProtocol) ReadFieldEnd() error { method ReadMapBegin (line 369) | func (p *TSimpleJSONProtocol) ReadMapBegin() (keyType TType, valueType... method ReadMapEnd (line 394) | func (p *TSimpleJSONProtocol) ReadMapEnd() error { method ReadListBegin (line 398) | func (p *TSimpleJSONProtocol) ReadListBegin() (elemType TType, size in... method ReadListEnd (line 402) | func (p *TSimpleJSONProtocol) ReadListEnd() error { method ReadSetBegin (line 406) | func (p *TSimpleJSONProtocol) ReadSetBegin() (elemType TType, size int... method ReadSetEnd (line 410) | func (p *TSimpleJSONProtocol) ReadSetEnd() error { method ReadBool (line 414) | func (p *TSimpleJSONProtocol) ReadBool() (bool, error) { method ReadByte (line 469) | func (p *TSimpleJSONProtocol) ReadByte() (int8, error) { method ReadI16 (line 474) | func (p *TSimpleJSONProtocol) ReadI16() (int16, error) { method ReadI32 (line 479) | func (p *TSimpleJSONProtocol) ReadI32() (int32, error) { method ReadI64 (line 484) | func (p *TSimpleJSONProtocol) ReadI64() (int64, error) { method ReadDouble (line 489) | func (p *TSimpleJSONProtocol) ReadDouble() (float64, error) { method ReadString (line 494) | func (p *TSimpleJSONProtocol) ReadString() (string, error) { method ReadBinary (line 524) | func (p *TSimpleJSONProtocol) ReadBinary() ([]byte, error) { method Flush (line 555) | func (p *TSimpleJSONProtocol) Flush() (err error) { method Skip (line 559) | func (p *TSimpleJSONProtocol) Skip(fieldType TType) (err error) { method Transport (line 563) | func (p *TSimpleJSONProtocol) Transport() TTransport { method OutputPreValue (line 567) | func (p *TSimpleJSONProtocol) OutputPreValue() error { method OutputPostValue (line 584) | func (p *TSimpleJSONProtocol) OutputPostValue() error { method OutputBool (line 607) | func (p *TSimpleJSONProtocol) OutputBool(value bool) error { method OutputNull (line 628) | func (p *TSimpleJSONProtocol) OutputNull() error { method OutputF64 (line 638) | func (p *TSimpleJSONProtocol) OutputF64(value float64) error { method OutputI64 (line 663) | func (p *TSimpleJSONProtocol) OutputI64(value int64) error { method OutputString (line 679) | func (p *TSimpleJSONProtocol) OutputString(s string) error { method OutputStringData (line 689) | func (p *TSimpleJSONProtocol) OutputStringData(s string) error { method OutputObjectBegin (line 694) | func (p *TSimpleJSONProtocol) OutputObjectBegin() error { method OutputObjectEnd (line 705) | func (p *TSimpleJSONProtocol) OutputObjectEnd() error { method OutputListBegin (line 716) | func (p *TSimpleJSONProtocol) OutputListBegin() error { method OutputListEnd (line 727) | func (p *TSimpleJSONProtocol) OutputListEnd() error { method OutputElemListBegin (line 738) | func (p *TSimpleJSONProtocol) OutputElemListBegin(elemType TType, size... method ParsePreValue (line 751) | func (p *TSimpleJSONProtocol) ParsePreValue() error { method ParsePostValue (line 811) | func (p *TSimpleJSONProtocol) ParsePostValue() error { method readNonSignificantWhitespace (line 833) | func (p *TSimpleJSONProtocol) readNonSignificantWhitespace() error { method ParseStringBody (line 851) | func (p *TSimpleJSONProtocol) ParseStringBody() (string, error) { method ParseQuotedStringBody (line 884) | func (p *TSimpleJSONProtocol) ParseQuotedStringBody() (string, error) { method ParseBase64EncodedBody (line 908) | func (p *TSimpleJSONProtocol) ParseBase64EncodedBody() ([]byte, error) { method ParseI64 (line 926) | func (p *TSimpleJSONProtocol) ParseI64() (int64, bool, error) { method ParseF64 (line 948) | func (p *TSimpleJSONProtocol) ParseF64() (float64, bool, error) { method ParseObjectStart (line 970) | func (p *TSimpleJSONProtocol) ParseObjectStart() (bool, error) { method ParseObjectEnd (line 990) | func (p *TSimpleJSONProtocol) ParseObjectEnd() error { method ParseListBegin (line 1016) | func (p *TSimpleJSONProtocol) ParseListBegin() (isNull bool, err error) { method ParseElemListBegin (line 1037) | func (p *TSimpleJSONProtocol) ParseElemListBegin() (elemType TType, si... method ParseListEnd (line 1051) | func (p *TSimpleJSONProtocol) ParseListEnd() error { method readSingleValue (line 1080) | func (p *TSimpleJSONProtocol) readSingleValue() (interface{}, TType, e... method readIfNull (line 1156) | func (p *TSimpleJSONProtocol) readIfNull() (bool, error) { method readQuoteIfNext (line 1181) | func (p *TSimpleJSONProtocol) readQuoteIfNext() { method readNumeric (line 1188) | func (p *TSimpleJSONProtocol) readNumeric() (Numeric, error) { method safePeekContains (line 1315) | func (p *TSimpleJSONProtocol) safePeekContains(b []byte) bool { method resetContextStack (line 1326) | func (p *TSimpleJSONProtocol) resetContextStack() { method write (line 1331) | func (p *TSimpleJSONProtocol) write(b []byte) (int, error) { function NewTSimpleJSONProtocol (line 79) | func NewTSimpleJSONProtocol(t TTransport) *TSimpleJSONProtocol { type TSimpleJSONProtocolFactory (line 90) | type TSimpleJSONProtocolFactory struct method GetProtocol (line 92) | func (p *TSimpleJSONProtocolFactory) GetProtocol(trans TTransport) TPr... function NewTSimpleJSONProtocolFactory (line 96) | func NewTSimpleJSONProtocolFactory() *TSimpleJSONProtocolFactory { function init (line 121) | func init() { function jsonQuote (line 142) | func jsonQuote(s string) string { function jsonUnquote (line 148) | func jsonUnquote(s string) (string, bool) { function mismatch (line 154) | func mismatch(expected, actual string) error { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/simple_json_protocol_test.go function TestWriteSimpleJSONProtocolBool (line 32) | func TestWriteSimpleJSONProtocolBool(t *testing.T) { function TestReadSimpleJSONProtocolBool (line 56) | func TestReadSimpleJSONProtocolBool(t *testing.T) { function TestWriteSimpleJSONProtocolByte (line 83) | func TestWriteSimpleJSONProtocolByte(t *testing.T) { function TestReadSimpleJSONProtocolByte (line 107) | func TestReadSimpleJSONProtocolByte(t *testing.T) { function TestWriteSimpleJSONProtocolI16 (line 130) | func TestWriteSimpleJSONProtocolI16(t *testing.T) { function TestReadSimpleJSONProtocolI16 (line 154) | func TestReadSimpleJSONProtocolI16(t *testing.T) { function TestWriteSimpleJSONProtocolI32 (line 177) | func TestWriteSimpleJSONProtocolI32(t *testing.T) { function TestReadSimpleJSONProtocolI32 (line 201) | func TestReadSimpleJSONProtocolI32(t *testing.T) { function TestReadSimpleJSONProtocolI32Null (line 224) | func TestReadSimpleJSONProtocolI32Null(t *testing.T) { function TestWriteSimpleJSONProtocolI64 (line 245) | func TestWriteSimpleJSONProtocolI64(t *testing.T) { function TestReadSimpleJSONProtocolI64 (line 269) | func TestReadSimpleJSONProtocolI64(t *testing.T) { function TestReadSimpleJSONProtocolI64Null (line 292) | func TestReadSimpleJSONProtocolI64Null(t *testing.T) { function TestWriteSimpleJSONProtocolDouble (line 313) | func TestWriteSimpleJSONProtocolDouble(t *testing.T) { function TestReadSimpleJSONProtocolDouble (line 351) | func TestReadSimpleJSONProtocolDouble(t *testing.T) { function TestWriteSimpleJSONProtocolString (line 389) | func TestWriteSimpleJSONProtocolString(t *testing.T) { function TestReadSimpleJSONProtocolString (line 413) | func TestReadSimpleJSONProtocolString(t *testing.T) { function TestReadSimpleJSONProtocolStringNull (line 436) | func TestReadSimpleJSONProtocolStringNull(t *testing.T) { function TestWriteSimpleJSONProtocolBinary (line 456) | func TestWriteSimpleJSONProtocolBinary(t *testing.T) { function TestReadSimpleJSONProtocolBinary (line 481) | func TestReadSimpleJSONProtocolBinary(t *testing.T) { function TestReadSimpleJSONProtocolBinaryNull (line 512) | func TestReadSimpleJSONProtocolBinaryNull(t *testing.T) { function TestWriteSimpleJSONProtocolList (line 534) | func TestWriteSimpleJSONProtocolList(t *testing.T) { function TestWriteSimpleJSONProtocolSet (line 588) | func TestWriteSimpleJSONProtocolSet(t *testing.T) { function TestWriteSimpleJSONProtocolMap (line 642) | func TestWriteSimpleJSONProtocolMap(t *testing.T) { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/simple_server.go type TSimpleServer (line 29) | type TSimpleServer struct method ProcessorFactory (line 94) | func (p *TSimpleServer) ProcessorFactory() TProcessorFactory { method ServerTransport (line 98) | func (p *TSimpleServer) ServerTransport() TServerTransport { method InputTransportFactory (line 102) | func (p *TSimpleServer) InputTransportFactory() TTransportFactory { method OutputTransportFactory (line 106) | func (p *TSimpleServer) OutputTransportFactory() TTransportFactory { method InputProtocolFactory (line 110) | func (p *TSimpleServer) InputProtocolFactory() TProtocolFactory { method OutputProtocolFactory (line 114) | func (p *TSimpleServer) OutputProtocolFactory() TProtocolFactory { method Listen (line 118) | func (p *TSimpleServer) Listen() error { method AcceptLoop (line 122) | func (p *TSimpleServer) AcceptLoop() error { method Serve (line 143) | func (p *TSimpleServer) Serve() error { method Stop (line 154) | func (p *TSimpleServer) Stop() error { method processRequests (line 163) | func (p *TSimpleServer) processRequests(client TTransport) error { function NewTSimpleServer2 (line 40) | func NewTSimpleServer2(processor TProcessor, serverTransport TServerTran... function NewTSimpleServer4 (line 44) | func NewTSimpleServer4(processor TProcessor, serverTransport TServerTran... function NewTSimpleServer6 (line 52) | func NewTSimpleServer6(processor TProcessor, serverTransport TServerTran... function NewTSimpleServerFactory2 (line 62) | func NewTSimpleServerFactory2(processorFactory TProcessorFactory, server... function NewTSimpleServerFactory4 (line 72) | func NewTSimpleServerFactory4(processorFactory TProcessorFactory, server... function NewTSimpleServerFactory6 (line 82) | func NewTSimpleServerFactory6(processorFactory TProcessorFactory, server... FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/socket.go type TSocket (line 27) | type TSocket struct method SetTimeout (line 63) | func (p *TSocket) SetTimeout(timeout time.Duration) error { method pushDeadline (line 68) | func (p *TSocket) pushDeadline(read, write bool) { method Open (line 83) | func (p *TSocket) Open() error { method Conn (line 104) | func (p *TSocket) Conn() net.Conn { method IsOpen (line 109) | func (p *TSocket) IsOpen() bool { method Close (line 117) | func (p *TSocket) Close() error { method Addr (line 130) | func (p *TSocket) Addr() net.Addr { method Read (line 134) | func (p *TSocket) Read(buf []byte) (int, error) { method Write (line 143) | func (p *TSocket) Write(buf []byte) (int, error) { method Flush (line 151) | func (p *TSocket) Flush() error { method Interrupt (line 155) | func (p *TSocket) Interrupt() error { method RemainingBytes (line 162) | func (p *TSocket) RemainingBytes() (num_bytes uint64) { function NewTSocket (line 37) | func NewTSocket(hostPort string) (*TSocket, error) { function NewTSocketTimeout (line 43) | func NewTSocketTimeout(hostPort string, timeout time.Duration) (*TSocket... function NewTSocketFromAddrTimeout (line 53) | func NewTSocketFromAddrTimeout(addr net.Addr, timeout time.Duration) *TS... function NewTSocketFromConnTimeout (line 58) | func NewTSocketFromConnTimeout(conn net.Conn, timeout time.Duration) *TS... FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/ssl_server_socket.go type TSSLServerSocket (line 28) | type TSSLServerSocket struct method Listen (line 48) | func (p *TSSLServerSocket) Listen() error { method Accept (line 60) | func (p *TSSLServerSocket) Accept() (TTransport, error) { method IsListening (line 75) | func (p *TSSLServerSocket) IsListening() bool { method Open (line 80) | func (p *TSSLServerSocket) Open() error { method Addr (line 92) | func (p *TSSLServerSocket) Addr() net.Addr { method Close (line 96) | func (p *TSSLServerSocket) Close() error { method Interrupt (line 106) | func (p *TSSLServerSocket) Interrupt() error { function NewTSSLServerSocket (line 36) | func NewTSSLServerSocket(listenAddr string, cfg *tls.Config) (*TSSLServe... function NewTSSLServerSocketTimeout (line 40) | func NewTSSLServerSocketTimeout(listenAddr string, cfg *tls.Config, clie... FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/ssl_socket.go type TSSLSocket (line 28) | type TSSLSocket struct method SetTimeout (line 65) | func (p *TSSLSocket) SetTimeout(timeout time.Duration) error { method pushDeadline (line 70) | func (p *TSSLSocket) pushDeadline(read, write bool) { method Open (line 85) | func (p *TSSLSocket) Open() error { method Conn (line 114) | func (p *TSSLSocket) Conn() net.Conn { method IsOpen (line 119) | func (p *TSSLSocket) IsOpen() bool { method Close (line 127) | func (p *TSSLSocket) Close() error { method Read (line 139) | func (p *TSSLSocket) Read(buf []byte) (int, error) { method Write (line 148) | func (p *TSSLSocket) Write(buf []byte) (int, error) { method Flush (line 156) | func (p *TSSLSocket) Flush() error { method Interrupt (line 160) | func (p *TSSLSocket) Interrupt() error { method RemainingBytes (line 167) | func (p *TSSLSocket) RemainingBytes() (num_bytes uint64) { function NewTSSLSocket (line 44) | func NewTSSLSocket(hostPort string, cfg *tls.Config) (*TSSLSocket, error) { function NewTSSLSocketTimeout (line 50) | func NewTSSLSocketTimeout(hostPort string, cfg *tls.Config, timeout time... function NewTSSLSocketFromAddrTimeout (line 55) | func NewTSSLSocketFromAddrTimeout(addr net.Addr, cfg *tls.Config, timeou... function NewTSSLSocketFromConnTimeout (line 60) | func NewTSSLSocketFromConnTimeout(conn net.Conn, cfg *tls.Config, timeou... FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/transport.go type Flusher (line 29) | type Flusher interface type ReadSizeProvider (line 33) | type ReadSizeProvider interface type TTransport (line 39) | type TTransport interface type stringWriter (line 51) | type stringWriter interface type TRichTransport (line 60) | type TRichTransport interface FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/transport_exception.go type timeoutable (line 27) | type timeoutable interface type TTransportException (line 32) | type TTransportException interface constant UNKNOWN_TRANSPORT_EXCEPTION (line 39) | UNKNOWN_TRANSPORT_EXCEPTION = 0 constant NOT_OPEN (line 40) | NOT_OPEN = 1 constant ALREADY_OPEN (line 41) | ALREADY_OPEN = 2 constant TIMED_OUT (line 42) | TIMED_OUT = 3 constant END_OF_FILE (line 43) | END_OF_FILE = 4 type tTransportException (line 46) | type tTransportException struct method TypeId (line 51) | func (p *tTransportException) TypeId() int { method Error (line 55) | func (p *tTransportException) Error() string { method Err (line 59) | func (p *tTransportException) Err() error { function NewTTransportException (line 63) | func NewTTransportException(t int, e string) TTransportException { function NewTTransportExceptionFromError (line 67) | func NewTTransportExceptionFromError(e error) TTransportException { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/transport_exception_test.go type timeout (line 29) | type timeout struct method Timeout (line 31) | func (t *timeout) Timeout() bool { method Error (line 35) | func (t *timeout) Error() string { function TestTExceptionTimeout (line 39) | func TestTExceptionTimeout(t *testing.T) { function TestTExceptionEOF (line 51) | func TestTExceptionEOF(t *testing.T) { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/transport_factory.go type TTransportFactory (line 26) | type TTransportFactory interface type tTransportFactory (line 30) | type tTransportFactory struct method GetTransport (line 33) | func (p *tTransportFactory) GetTransport(trans TTransport) TTransport { function NewTTransportFactory (line 37) | func NewTTransportFactory() TTransportFactory { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/transport_test.go constant TRANSPORT_BINARY_DATA_SIZE (line 29) | TRANSPORT_BINARY_DATA_SIZE = 4096 function init (line 36) | func init() { function TransportTest (line 45) | func TransportTest(t *testing.T, writeTrans TTransport, readTrans TTrans... function TransportHeaderTest (line 100) | func TransportHeaderTest(t *testing.T, writeTrans TTransport, readTrans ... function CloseTransports (line 144) | func CloseTransports(t *testing.T, readTrans TTransport, writeTrans TTra... function FindAvailableTCPServerPort (line 157) | func FindAvailableTCPServerPort(startPort int) (net.Addr, error) { function valueInSlice (line 169) | func valueInSlice(value string, slice []string) bool { FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/type.go type TType (line 23) | type TType method String (line 64) | func (p TType) String() string { constant STOP (line 26) | STOP = 0 constant VOID (line 27) | VOID = 1 constant BOOL (line 28) | BOOL = 2 constant BYTE (line 29) | BYTE = 3 constant I08 (line 30) | I08 = 3 constant DOUBLE (line 31) | DOUBLE = 4 constant I16 (line 32) | I16 = 6 constant I32 (line 33) | I32 = 8 constant I64 (line 34) | I64 = 10 constant STRING (line 35) | STRING = 11 constant UTF7 (line 36) | UTF7 = 11 constant STRUCT (line 37) | STRUCT = 12 constant MAP (line 38) | MAP = 13 constant SET (line 39) | SET = 14 constant LIST (line 40) | LIST = 15 constant UTF8 (line 41) | UTF8 = 16 constant UTF16 (line 42) | UTF16 = 17 FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/zlib_transport.go type TZlibTransportFactory (line 29) | type TZlibTransportFactory struct method GetTransport (line 41) | func (p *TZlibTransportFactory) GetTransport(trans TTransport) TTransp... type TZlibTransport (line 34) | type TZlibTransport struct method Close (line 67) | func (z *TZlibTransport) Close() error { method Flush (line 80) | func (z *TZlibTransport) Flush() error { method IsOpen (line 88) | func (z *TZlibTransport) IsOpen() bool { method Open (line 93) | func (z *TZlibTransport) Open() error { method Read (line 97) | func (z *TZlibTransport) Read(p []byte) (int, error) { method RemainingBytes (line 111) | func (z *TZlibTransport) RemainingBytes() uint64 { method Write (line 115) | func (z *TZlibTransport) Write(p []byte) (int, error) { function NewTZlibTransportFactory (line 47) | func NewTZlibTransportFactory(level int) *TZlibTransportFactory { function NewTZlibTransport (line 52) | func NewTZlibTransport(trans TTransport, level int) (*TZlibTransport, er... FILE: thirdparty/github.com/apache/thrift/lib/go/thrift/zlib_transport_test.go function TestZlibTransport (line 27) | func TestZlibTransport(t *testing.T) { FILE: thrift/arg2/kv_iterator.go type KeyValIterator (line 18) | type KeyValIterator struct method Key (line 41) | func (i KeyValIterator) Key() []byte { method Value (line 46) | func (i KeyValIterator) Value() []byte { method Remaining (line 51) | func (i KeyValIterator) Remaining() bool { method Next (line 60) | func (i KeyValIterator) Next() (kv KeyValIterator, _ error) { function NewKeyValIterator (line 28) | func NewKeyValIterator(arg2Payload []byte) (KeyValIterator, error) { FILE: thrift/arg2/kv_iterator_test.go function TestKeyValIterator (line 13) | func TestKeyValIterator(t *testing.T) { function BenchmarkKeyValIterator (line 102) | func BenchmarkKeyValIterator(b *testing.B) { FILE: thrift/client.go type client (line 32) | type client struct method startCall (line 58) | func (c *client) startCall(ctx context.Context, method string, callOpt... method Call (line 128) | func (c *client) Call(ctx Context, thriftService, methodName string, r... type ClientOptions (line 40) | type ClientOptions struct function NewClient (line 46) | func NewClient(ch *tchannel.Channel, serviceName string, opts *ClientOpt... function writeArgs (line 65) | func writeArgs(call *tchannel.OutboundCall, headers map[string]string, r... function readResponse (line 92) | func readResponse(response *tchannel.OutboundCallResponse, resp thrift.T... FILE: thrift/context.go type Context (line 31) | type Context function NewContext (line 34) | func NewContext(timeout time.Duration) (Context, context.CancelFunc) { function Wrap (line 40) | func Wrap(ctx context.Context) Context { function WithHeaders (line 45) | func WithHeaders(ctx context.Context, headers map[string]string) Context { FILE: thrift/context_test.go function TestWrapContext (line 39) | func TestWrapContext(t *testing.T) { function TestContextBuilder (line 52) | func TestContextBuilder(t *testing.T) { FILE: thrift/errors_test.go function serializeStruct (line 41) | func serializeStruct(t *testing.T, s thrift.TStruct) []byte { function TestInvalidThriftBytes (line 48) | func TestInvalidThriftBytes(t *testing.T) { FILE: thrift/gen-go/meta/constants.go function init (line 17) | func init() { FILE: thrift/gen-go/meta/meta.go type Meta (line 17) | type Meta interface type MetaClient (line 25) | type MetaClient struct method Health (line 53) | func (p *MetaClient) Health(hr *HealthRequest) (r *HealthStatus, err e... method sendHealth (line 60) | func (p *MetaClient) sendHealth(hr *HealthRequest) (err error) { method recvHealth (line 82) | func (p *MetaClient) recvHealth() (value *HealthStatus, err error) { method ThriftIDL (line 128) | func (p *MetaClient) ThriftIDL() (r *ThriftIDLs, err error) { method sendThriftIDL (line 135) | func (p *MetaClient) sendThriftIDL() (err error) { method recvThriftIDL (line 155) | func (p *MetaClient) recvThriftIDL() (value *ThriftIDLs, err error) { method VersionInfo (line 201) | func (p *MetaClient) VersionInfo() (r *VersionInfo, err error) { method sendVersionInfo (line 208) | func (p *MetaClient) sendVersionInfo() (err error) { method recvVersionInfo (line 228) | func (p *MetaClient) recvVersionInfo() (value *VersionInfo, err error) { function NewMetaClientFactory (line 33) | func NewMetaClientFactory(t thrift.TTransport, f thrift.TProtocolFactory... function NewMetaClientProtocol (line 42) | func NewMetaClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, ... type MetaProcessor (line 274) | type MetaProcessor struct method AddToProcessorMap (line 279) | func (p *MetaProcessor) AddToProcessorMap(key string, processor thrift... method GetProcessorFunction (line 283) | func (p *MetaProcessor) GetProcessorFunction(key string) (processor th... method ProcessorMap (line 288) | func (p *MetaProcessor) ProcessorMap() map[string]thrift.TProcessorFun... method Process (line 301) | func (p *MetaProcessor) Process(iprot, oprot thrift.TProtocol) (succes... function NewMetaProcessor (line 292) | func NewMetaProcessor(handler Meta) *MetaProcessor { type metaProcessorHealth (line 320) | type metaProcessorHealth struct method Process (line 324) | func (p *metaProcessorHealth) Process(seqId int32, iprot, oprot thrift... type metaProcessorThriftIDL (line 368) | type metaProcessorThriftIDL struct method Process (line 372) | func (p *metaProcessorThriftIDL) Process(seqId int32, iprot, oprot thr... type metaProcessorVersionInfo (line 416) | type metaProcessorVersionInfo struct method Process (line 420) | func (p *metaProcessorVersionInfo) Process(seqId int32, iprot, oprot t... type MetaHealthArgs (line 468) | type MetaHealthArgs struct method GetHr (line 478) | func (p *MetaHealthArgs) GetHr() *HealthRequest { method IsSetHr (line 484) | func (p *MetaHealthArgs) IsSetHr() bool { method Read (line 488) | func (p *MetaHealthArgs) Read(iprot thrift.TProtocol) error { method ReadField1 (line 521) | func (p *MetaHealthArgs) ReadField1(iprot thrift.TProtocol) error { method Write (line 529) | func (p *MetaHealthArgs) Write(oprot thrift.TProtocol) error { method writeField1 (line 545) | func (p *MetaHealthArgs) writeField1(oprot thrift.TProtocol) (err erro... method String (line 558) | func (p *MetaHealthArgs) String() string { function NewMetaHealthArgs (line 472) | func NewMetaHealthArgs() *MetaHealthArgs { type MetaHealthResult (line 567) | type MetaHealthResult struct method GetSuccess (line 577) | func (p *MetaHealthResult) GetSuccess() *HealthStatus { method IsSetSuccess (line 583) | func (p *MetaHealthResult) IsSetSuccess() bool { method Read (line 587) | func (p *MetaHealthResult) Read(iprot thrift.TProtocol) error { method ReadField0 (line 620) | func (p *MetaHealthResult) ReadField0(iprot thrift.TProtocol) error { method Write (line 628) | func (p *MetaHealthResult) Write(oprot thrift.TProtocol) error { method writeField0 (line 644) | func (p *MetaHealthResult) writeField0(oprot thrift.TProtocol) (err er... method String (line 659) | func (p *MetaHealthResult) String() string { function NewMetaHealthResult (line 571) | func NewMetaHealthResult() *MetaHealthResult { type MetaThriftIDLArgs (line 666) | type MetaThriftIDLArgs struct method Read (line 673) | func (p *MetaThriftIDLArgs) Read(iprot thrift.TProtocol) error { method Write (line 699) | func (p *MetaThriftIDLArgs) Write(oprot thrift.TProtocol) error { method String (line 712) | func (p *MetaThriftIDLArgs) String() string { function NewMetaThriftIDLArgs (line 669) | func NewMetaThriftIDLArgs() *MetaThriftIDLArgs { type MetaThriftIDLResult (line 721) | type MetaThriftIDLResult struct method GetSuccess (line 731) | func (p *MetaThriftIDLResult) GetSuccess() *ThriftIDLs { method IsSetSuccess (line 737) | func (p *MetaThriftIDLResult) IsSetSuccess() bool { method Read (line 741) | func (p *MetaThriftIDLResult) Read(iprot thrift.TProtocol) error { method ReadField0 (line 774) | func (p *MetaThriftIDLResult) ReadField0(iprot thrift.TProtocol) error { method Write (line 782) | func (p *MetaThriftIDLResult) Write(oprot thrift.TProtocol) error { method writeField0 (line 798) | func (p *MetaThriftIDLResult) writeField0(oprot thrift.TProtocol) (err... method String (line 813) | func (p *MetaThriftIDLResult) String() string { function NewMetaThriftIDLResult (line 725) | func NewMetaThriftIDLResult() *MetaThriftIDLResult { type MetaVersionInfoArgs (line 820) | type MetaVersionInfoArgs struct method Read (line 827) | func (p *MetaVersionInfoArgs) Read(iprot thrift.TProtocol) error { method Write (line 853) | func (p *MetaVersionInfoArgs) Write(oprot thrift.TProtocol) error { method String (line 866) | func (p *MetaVersionInfoArgs) String() string { function NewMetaVersionInfoArgs (line 823) | func NewMetaVersionInfoArgs() *MetaVersionInfoArgs { type MetaVersionInfoResult (line 875) | type MetaVersionInfoResult struct method GetSuccess (line 885) | func (p *MetaVersionInfoResult) GetSuccess() *VersionInfo { method IsSetSuccess (line 891) | func (p *MetaVersionInfoResult) IsSetSuccess() bool { method Read (line 895) | func (p *MetaVersionInfoResult) Read(iprot thrift.TProtocol) error { method ReadField0 (line 928) | func (p *MetaVersionInfoResult) ReadField0(iprot thrift.TProtocol) err... method Write (line 936) | func (p *MetaVersionInfoResult) Write(oprot thrift.TProtocol) error { method writeField0 (line 952) | func (p *MetaVersionInfoResult) writeField0(oprot thrift.TProtocol) (e... method String (line 967) | func (p *MetaVersionInfoResult) String() string { function NewMetaVersionInfoResult (line 879) | func NewMetaVersionInfoResult() *MetaVersionInfoResult { FILE: thrift/gen-go/meta/ttypes.go type HealthState (line 21) | type HealthState method String (line 30) | func (p HealthState) String() string { method MarshalText (line 60) | func (p HealthState) MarshalText() ([]byte, error) { method UnmarshalText (line 64) | func (p *HealthState) UnmarshalText(text []byte) error { method Scan (line 73) | func (p *HealthState) Scan(value interface{}) error { method Value (line 82) | func (p *HealthState) Value() (driver.Value, error) { constant HealthState_REFUSING (line 24) | HealthState_REFUSING HealthState = 0 constant HealthState_ACCEPTING (line 25) | HealthState_ACCEPTING HealthState = 1 constant HealthState_STOPPING (line 26) | HealthState_STOPPING HealthState = 2 constant HealthState_STOPPED (line 27) | HealthState_STOPPED HealthState = 3 function HealthStateFromString (line 44) | func HealthStateFromString(s string) (HealthState, error) { function HealthStatePtr (line 58) | func HealthStatePtr(v HealthState) *HealthState { return &v } type HealthRequestType (line 89) | type HealthRequestType method String (line 96) | func (p HealthRequestType) String() string { method MarshalText (line 118) | func (p HealthRequestType) MarshalText() ([]byte, error) { method UnmarshalText (line 122) | func (p *HealthRequestType) UnmarshalText(text []byte) error { method Scan (line 131) | func (p *HealthRequestType) Scan(value interface{}) error { method Value (line 140) | func (p *HealthRequestType) Value() (driver.Value, error) { constant HealthRequestType_PROCESS (line 92) | HealthRequestType_PROCESS HealthRequestType = 0 constant HealthRequestType_TRAFFIC (line 93) | HealthRequestType_TRAFFIC HealthRequestType = 1 function HealthRequestTypeFromString (line 106) | func HealthRequestTypeFromString(s string) (HealthRequestType, error) { function HealthRequestTypePtr (line 116) | func HealthRequestTypePtr(v HealthRequestType) *HealthRequestType { retu... type Filename (line 147) | type Filename function FilenamePtr (line 149) | func FilenamePtr(v Filename) *Filename { return &v } type HealthRequest (line 153) | type HealthRequest struct method GetType (line 163) | func (p *HealthRequest) GetType() HealthRequestType { method IsSetType (line 169) | func (p *HealthRequest) IsSetType() bool { method Read (line 173) | func (p *HealthRequest) Read(iprot thrift.TProtocol) error { method ReadField1 (line 206) | func (p *HealthRequest) ReadField1(iprot thrift.TProtocol) error { method Write (line 216) | func (p *HealthRequest) Write(oprot thrift.TProtocol) error { method writeField1 (line 232) | func (p *HealthRequest) writeField1(oprot thrift.TProtocol) (err error) { method String (line 247) | func (p *HealthRequest) String() string { function NewHealthRequest (line 157) | func NewHealthRequest() *HealthRequest { type HealthStatus (line 258) | type HealthStatus struct method GetOk (line 268) | func (p *HealthStatus) GetOk() bool { method GetMessage (line 274) | func (p *HealthStatus) GetMessage() string { method GetState (line 283) | func (p *HealthStatus) GetState() HealthState { method IsSetMessage (line 289) | func (p *HealthStatus) IsSetMessage() bool { method IsSetState (line 293) | func (p *HealthStatus) IsSetState() bool { method Read (line 297) | func (p *HealthStatus) Read(iprot thrift.TProtocol) error { method ReadField1 (line 344) | func (p *HealthStatus) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 353) | func (p *HealthStatus) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 362) | func (p *HealthStatus) ReadField3(iprot thrift.TProtocol) error { method Write (line 372) | func (p *HealthStatus) Write(oprot thrift.TProtocol) error { method writeField1 (line 394) | func (p *HealthStatus) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 407) | func (p *HealthStatus) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 422) | func (p *HealthStatus) writeField3(oprot thrift.TProtocol) (err error) { method String (line 437) | func (p *HealthStatus) String() string { function NewHealthStatus (line 264) | func NewHealthStatus() *HealthStatus { type ThriftIDLs (line 447) | type ThriftIDLs struct method GetIdls (line 456) | func (p *ThriftIDLs) GetIdls() map[Filename]string { method GetEntryPoint (line 460) | func (p *ThriftIDLs) GetEntryPoint() Filename { method Read (line 463) | func (p *ThriftIDLs) Read(iprot thrift.TProtocol) error { method ReadField1 (line 511) | func (p *ThriftIDLs) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 540) | func (p *ThriftIDLs) ReadField2(iprot thrift.TProtocol) error { method Write (line 550) | func (p *ThriftIDLs) Write(oprot thrift.TProtocol) error { method writeField1 (line 569) | func (p *ThriftIDLs) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 593) | func (p *ThriftIDLs) writeField2(oprot thrift.TProtocol) (err error) { method String (line 606) | func (p *ThriftIDLs) String() string { function NewThriftIDLs (line 452) | func NewThriftIDLs() *ThriftIDLs { type VersionInfo (line 617) | type VersionInfo struct method GetLanguage (line 627) | func (p *VersionInfo) GetLanguage() string { method GetLanguageVersion (line 631) | func (p *VersionInfo) GetLanguageVersion() string { method GetVersion (line 635) | func (p *VersionInfo) GetVersion() string { method Read (line 638) | func (p *VersionInfo) Read(iprot thrift.TProtocol) error { method ReadField1 (line 695) | func (p *VersionInfo) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 704) | func (p *VersionInfo) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 713) | func (p *VersionInfo) ReadField3(iprot thrift.TProtocol) error { method Write (line 722) | func (p *VersionInfo) Write(oprot thrift.TProtocol) error { method writeField1 (line 744) | func (p *VersionInfo) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 757) | func (p *VersionInfo) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 770) | func (p *VersionInfo) writeField3(oprot thrift.TProtocol) (err error) { method String (line 783) | func (p *VersionInfo) String() string { function NewVersionInfo (line 623) | func NewVersionInfo() *VersionInfo { FILE: thrift/gen-go/test/constants.go function init (line 17) | func init() { FILE: thrift/gen-go/test/meta.go type Meta (line 17) | type Meta interface type MetaClient (line 21) | type MetaClient struct method Health (line 47) | func (p *MetaClient) Health() (r *HealthStatus, err error) { method sendHealth (line 54) | func (p *MetaClient) sendHealth() (err error) { method recvHealth (line 74) | func (p *MetaClient) recvHealth() (value *HealthStatus, err error) { function NewMetaClientFactory (line 29) | func NewMetaClientFactory(t thrift.TTransport, f thrift.TProtocolFactory... function NewMetaClientProtocol (line 38) | func NewMetaClientProtocol(t thrift.TTransport, iprot thrift.TProtocol, ... type MetaProcessor (line 120) | type MetaProcessor struct method AddToProcessorMap (line 125) | func (p *MetaProcessor) AddToProcessorMap(key string, processor thrift... method GetProcessorFunction (line 129) | func (p *MetaProcessor) GetProcessorFunction(key string) (processor th... method ProcessorMap (line 134) | func (p *MetaProcessor) ProcessorMap() map[string]thrift.TProcessorFun... method Process (line 145) | func (p *MetaProcessor) Process(iprot, oprot thrift.TProtocol) (succes... function NewMetaProcessor (line 138) | func NewMetaProcessor(handler Meta) *MetaProcessor { type metaProcessorHealth (line 164) | type metaProcessorHealth struct method Process (line 168) | func (p *metaProcessorHealth) Process(seqId int32, iprot, oprot thrift... type MetaHealthArgs (line 214) | type MetaHealthArgs struct method Read (line 221) | func (p *MetaHealthArgs) Read(iprot thrift.TProtocol) error { method Write (line 247) | func (p *MetaHealthArgs) Write(oprot thrift.TProtocol) error { method String (line 260) | func (p *MetaHealthArgs) String() string { function NewMetaHealthArgs (line 217) | func NewMetaHealthArgs() *MetaHealthArgs { type MetaHealthResult (line 269) | type MetaHealthResult struct method GetSuccess (line 279) | func (p *MetaHealthResult) GetSuccess() *HealthStatus { method IsSetSuccess (line 285) | func (p *MetaHealthResult) IsSetSuccess() bool { method Read (line 289) | func (p *MetaHealthResult) Read(iprot thrift.TProtocol) error { method ReadField0 (line 322) | func (p *MetaHealthResult) ReadField0(iprot thrift.TProtocol) error { method Write (line 330) | func (p *MetaHealthResult) Write(oprot thrift.TProtocol) error { method writeField0 (line 346) | func (p *MetaHealthResult) writeField0(oprot thrift.TProtocol) (err er... method String (line 361) | func (p *MetaHealthResult) String() string { function NewMetaHealthResult (line 273) | func NewMetaHealthResult() *MetaHealthResult { FILE: thrift/gen-go/test/secondservice.go type SecondService (line 17) | type SecondService interface type SecondServiceClient (line 23) | type SecondServiceClient struct method Echo (line 51) | func (p *SecondServiceClient) Echo(arg string) (r string, err error) { method sendEcho (line 58) | func (p *SecondServiceClient) sendEcho(arg string) (err error) { method recvEcho (line 80) | func (p *SecondServiceClient) recvEcho() (value string, err error) { function NewSecondServiceClientFactory (line 31) | func NewSecondServiceClientFactory(t thrift.TTransport, f thrift.TProtoc... function NewSecondServiceClientProtocol (line 40) | func NewSecondServiceClientProtocol(t thrift.TTransport, iprot thrift.TP... type SecondServiceProcessor (line 126) | type SecondServiceProcessor struct method AddToProcessorMap (line 131) | func (p *SecondServiceProcessor) AddToProcessorMap(key string, process... method GetProcessorFunction (line 135) | func (p *SecondServiceProcessor) GetProcessorFunction(key string) (pro... method ProcessorMap (line 140) | func (p *SecondServiceProcessor) ProcessorMap() map[string]thrift.TPro... method Process (line 151) | func (p *SecondServiceProcessor) Process(iprot, oprot thrift.TProtocol... function NewSecondServiceProcessor (line 144) | func NewSecondServiceProcessor(handler SecondService) *SecondServiceProc... type secondServiceProcessorEcho (line 170) | type secondServiceProcessorEcho struct method Process (line 174) | func (p *secondServiceProcessorEcho) Process(seqId int32, iprot, oprot... type SecondServiceEchoArgs (line 222) | type SecondServiceEchoArgs struct method GetArg (line 230) | func (p *SecondServiceEchoArgs) GetArg() string { method Read (line 233) | func (p *SecondServiceEchoArgs) Read(iprot thrift.TProtocol) error { method ReadField1 (line 266) | func (p *SecondServiceEchoArgs) ReadField1(iprot thrift.TProtocol) err... method Write (line 275) | func (p *SecondServiceEchoArgs) Write(oprot thrift.TProtocol) error { method writeField1 (line 291) | func (p *SecondServiceEchoArgs) writeField1(oprot thrift.TProtocol) (e... method String (line 304) | func (p *SecondServiceEchoArgs) String() string { function NewSecondServiceEchoArgs (line 226) | func NewSecondServiceEchoArgs() *SecondServiceEchoArgs { type SecondServiceEchoResult (line 313) | type SecondServiceEchoResult struct method GetSuccess (line 323) | func (p *SecondServiceEchoResult) GetSuccess() string { method IsSetSuccess (line 329) | func (p *SecondServiceEchoResult) IsSetSuccess() bool { method Read (line 333) | func (p *SecondServiceEchoResult) Read(iprot thrift.TProtocol) error { method ReadField0 (line 366) | func (p *SecondServiceEchoResult) ReadField0(iprot thrift.TProtocol) e... method Write (line 375) | func (p *SecondServiceEchoResult) Write(oprot thrift.TProtocol) error { method writeField0 (line 391) | func (p *SecondServiceEchoResult) writeField0(oprot thrift.TProtocol) ... method String (line 406) | func (p *SecondServiceEchoResult) String() string { function NewSecondServiceEchoResult (line 317) | func NewSecondServiceEchoResult() *SecondServiceEchoResult { FILE: thrift/gen-go/test/simpleservice.go type SimpleService (line 17) | type SimpleService interface type SimpleServiceClient (line 25) | type SimpleServiceClient struct method Call (line 53) | func (p *SimpleServiceClient) Call(arg *Data) (r *Data, err error) { method sendCall (line 60) | func (p *SimpleServiceClient) sendCall(arg *Data) (err error) { method recvCall (line 82) | func (p *SimpleServiceClient) recvCall() (value *Data, err error) { method Simple (line 128) | func (p *SimpleServiceClient) Simple() (err error) { method sendSimple (line 135) | func (p *SimpleServiceClient) sendSimple() (err error) { method recvSimple (line 155) | func (p *SimpleServiceClient) recvSimple() (err error) { method SimpleFuture (line 204) | func (p *SimpleServiceClient) SimpleFuture() (err error) { method sendSimpleFuture (line 211) | func (p *SimpleServiceClient) sendSimpleFuture() (err error) { method recvSimpleFuture (line 231) | func (p *SimpleServiceClient) recvSimpleFuture() (err error) { function NewSimpleServiceClientFactory (line 33) | func NewSimpleServiceClientFactory(t thrift.TTransport, f thrift.TProtoc... function NewSimpleServiceClientProtocol (line 42) | func NewSimpleServiceClientProtocol(t thrift.TTransport, iprot thrift.TP... type SimpleServiceProcessor (line 283) | type SimpleServiceProcessor struct method AddToProcessorMap (line 288) | func (p *SimpleServiceProcessor) AddToProcessorMap(key string, process... method GetProcessorFunction (line 292) | func (p *SimpleServiceProcessor) GetProcessorFunction(key string) (pro... method ProcessorMap (line 297) | func (p *SimpleServiceProcessor) ProcessorMap() map[string]thrift.TPro... method Process (line 310) | func (p *SimpleServiceProcessor) Process(iprot, oprot thrift.TProtocol... function NewSimpleServiceProcessor (line 301) | func NewSimpleServiceProcessor(handler SimpleService) *SimpleServiceProc... type simpleServiceProcessorCall (line 329) | type simpleServiceProcessorCall struct method Process (line 333) | func (p *simpleServiceProcessorCall) Process(seqId int32, iprot, oprot... type simpleServiceProcessorSimple (line 377) | type simpleServiceProcessorSimple struct method Process (line 381) | func (p *simpleServiceProcessorSimple) Process(seqId int32, iprot, opr... type simpleServiceProcessorSimpleFuture (line 427) | type simpleServiceProcessorSimpleFuture struct method Process (line 431) | func (p *simpleServiceProcessorSimpleFuture) Process(seqId int32, ipro... type SimpleServiceCallArgs (line 483) | type SimpleServiceCallArgs struct method GetArg (line 493) | func (p *SimpleServiceCallArgs) GetArg() *Data { method IsSetArg (line 499) | func (p *SimpleServiceCallArgs) IsSetArg() bool { method Read (line 503) | func (p *SimpleServiceCallArgs) Read(iprot thrift.TProtocol) error { method ReadField1 (line 536) | func (p *SimpleServiceCallArgs) ReadField1(iprot thrift.TProtocol) err... method Write (line 544) | func (p *SimpleServiceCallArgs) Write(oprot thrift.TProtocol) error { method writeField1 (line 560) | func (p *SimpleServiceCallArgs) writeField1(oprot thrift.TProtocol) (e... method String (line 573) | func (p *SimpleServiceCallArgs) String() string { function NewSimpleServiceCallArgs (line 487) | func NewSimpleServiceCallArgs() *SimpleServiceCallArgs { type SimpleServiceCallResult (line 582) | type SimpleServiceCallResult struct method GetSuccess (line 592) | func (p *SimpleServiceCallResult) GetSuccess() *Data { method IsSetSuccess (line 598) | func (p *SimpleServiceCallResult) IsSetSuccess() bool { method Read (line 602) | func (p *SimpleServiceCallResult) Read(iprot thrift.TProtocol) error { method ReadField0 (line 635) | func (p *SimpleServiceCallResult) ReadField0(iprot thrift.TProtocol) e... method Write (line 643) | func (p *SimpleServiceCallResult) Write(oprot thrift.TProtocol) error { method writeField0 (line 659) | func (p *SimpleServiceCallResult) writeField0(oprot thrift.TProtocol) ... method String (line 674) | func (p *SimpleServiceCallResult) String() string { function NewSimpleServiceCallResult (line 586) | func NewSimpleServiceCallResult() *SimpleServiceCallResult { type SimpleServiceSimpleArgs (line 681) | type SimpleServiceSimpleArgs struct method Read (line 688) | func (p *SimpleServiceSimpleArgs) Read(iprot thrift.TProtocol) error { method Write (line 714) | func (p *SimpleServiceSimpleArgs) Write(oprot thrift.TProtocol) error { method String (line 727) | func (p *SimpleServiceSimpleArgs) String() string { function NewSimpleServiceSimpleArgs (line 684) | func NewSimpleServiceSimpleArgs() *SimpleServiceSimpleArgs { type SimpleServiceSimpleResult (line 736) | type SimpleServiceSimpleResult struct method GetSimpleErr (line 746) | func (p *SimpleServiceSimpleResult) GetSimpleErr() *SimpleErr { method IsSetSimpleErr (line 752) | func (p *SimpleServiceSimpleResult) IsSetSimpleErr() bool { method Read (line 756) | func (p *SimpleServiceSimpleResult) Read(iprot thrift.TProtocol) error { method ReadField1 (line 789) | func (p *SimpleServiceSimpleResult) ReadField1(iprot thrift.TProtocol)... method Write (line 797) | func (p *SimpleServiceSimpleResult) Write(oprot thrift.TProtocol) error { method writeField1 (line 813) | func (p *SimpleServiceSimpleResult) writeField1(oprot thrift.TProtocol... method String (line 828) | func (p *SimpleServiceSimpleResult) String() string { function NewSimpleServiceSimpleResult (line 740) | func NewSimpleServiceSimpleResult() *SimpleServiceSimpleResult { type SimpleServiceSimpleFutureArgs (line 835) | type SimpleServiceSimpleFutureArgs struct method Read (line 842) | func (p *SimpleServiceSimpleFutureArgs) Read(iprot thrift.TProtocol) e... method Write (line 868) | func (p *SimpleServiceSimpleFutureArgs) Write(oprot thrift.TProtocol) ... method String (line 881) | func (p *SimpleServiceSimpleFutureArgs) String() string { function NewSimpleServiceSimpleFutureArgs (line 838) | func NewSimpleServiceSimpleFutureArgs() *SimpleServiceSimpleFutureArgs { type SimpleServiceSimpleFutureResult (line 891) | type SimpleServiceSimpleFutureResult struct method GetSimpleErr (line 902) | func (p *SimpleServiceSimpleFutureResult) GetSimpleErr() *SimpleErr { method GetNewErr_ (line 911) | func (p *SimpleServiceSimpleFutureResult) GetNewErr_() *NewErr_ { method IsSetSimpleErr (line 917) | func (p *SimpleServiceSimpleFutureResult) IsSetSimpleErr() bool { method IsSetNewErr_ (line 921) | func (p *SimpleServiceSimpleFutureResult) IsSetNewErr_() bool { method Read (line 925) | func (p *SimpleServiceSimpleFutureResult) Read(iprot thrift.TProtocol)... method ReadField1 (line 962) | func (p *SimpleServiceSimpleFutureResult) ReadField1(iprot thrift.TPro... method ReadField2 (line 970) | func (p *SimpleServiceSimpleFutureResult) ReadField2(iprot thrift.TPro... method Write (line 978) | func (p *SimpleServiceSimpleFutureResult) Write(oprot thrift.TProtocol... method writeField1 (line 997) | func (p *SimpleServiceSimpleFutureResult) writeField1(oprot thrift.TPr... method writeField2 (line 1012) | func (p *SimpleServiceSimpleFutureResult) writeField2(oprot thrift.TPr... method String (line 1027) | func (p *SimpleServiceSimpleFutureResult) String() string { function NewSimpleServiceSimpleFutureResult (line 896) | func NewSimpleServiceSimpleFutureResult() *SimpleServiceSimpleFutureResu... FILE: thrift/gen-go/test/tchan-test.go type TChanMeta (line 16) | type TChanMeta interface type TChanSecondService (line 21) | type TChanSecondService interface type TChanSimpleService (line 26) | type TChanSimpleService interface type tchanMetaClient (line 34) | type tchanMetaClient struct method Health (line 51) | func (c *tchanMetaClient) Health(ctx thrift.Context) (*HealthStatus, e... function NewTChanMetaInheritedClient (line 39) | func NewTChanMetaInheritedClient(thriftService string, client thrift.TCh... function NewTChanMetaClient (line 47) | func NewTChanMetaClient(client thrift.TChanClient) TChanMeta { type tchanMetaServer (line 65) | type tchanMetaServer struct method Service (line 77) | func (s *tchanMetaServer) Service() string { method Methods (line 81) | func (s *tchanMetaServer) Methods() []string { method Handle (line 87) | func (s *tchanMetaServer) Handle(ctx thrift.Context, methodName string... method handleHealth (line 97) | func (s *tchanMetaServer) handleHealth(ctx thrift.Context, protocol at... function NewTChanMetaServer (line 71) | func NewTChanMetaServer(handler TChanMeta) thrift.TChanServer { type tchanSecondServiceClient (line 117) | type tchanSecondServiceClient struct method Echo (line 134) | func (c *tchanSecondServiceClient) Echo(ctx thrift.Context, arg string... function NewTChanSecondServiceInheritedClient (line 122) | func NewTChanSecondServiceInheritedClient(thriftService string, client t... function NewTChanSecondServiceClient (line 130) | func NewTChanSecondServiceClient(client thrift.TChanClient) TChanSecondS... type tchanSecondServiceServer (line 150) | type tchanSecondServiceServer struct method Service (line 162) | func (s *tchanSecondServiceServer) Service() string { method Methods (line 166) | func (s *tchanSecondServiceServer) Methods() []string { method Handle (line 172) | func (s *tchanSecondServiceServer) Handle(ctx thrift.Context, methodNa... method handleEcho (line 182) | func (s *tchanSecondServiceServer) handleEcho(ctx thrift.Context, prot... function NewTChanSecondServiceServer (line 156) | func NewTChanSecondServiceServer(handler TChanSecondService) thrift.TCha... type tchanSimpleServiceClient (line 202) | type tchanSimpleServiceClient struct method Call (line 219) | func (c *tchanSimpleServiceClient) Call(ctx thrift.Context, arg *Data)... method Simple (line 235) | func (c *tchanSimpleServiceClient) Simple(ctx thrift.Context) error { method SimpleFuture (line 251) | func (c *tchanSimpleServiceClient) SimpleFuture(ctx thrift.Context) er... function NewTChanSimpleServiceInheritedClient (line 207) | func NewTChanSimpleServiceInheritedClient(thriftService string, client t... function NewTChanSimpleServiceClient (line 215) | func NewTChanSimpleServiceClient(client thrift.TChanClient) TChanSimpleS... type tchanSimpleServiceServer (line 269) | type tchanSimpleServiceServer struct method Service (line 281) | func (s *tchanSimpleServiceServer) Service() string { method Methods (line 285) | func (s *tchanSimpleServiceServer) Methods() []string { method Handle (line 293) | func (s *tchanSimpleServiceServer) Handle(ctx thrift.Context, methodNa... method handleCall (line 307) | func (s *tchanSimpleServiceServer) handleCall(ctx thrift.Context, prot... method handleSimple (line 327) | func (s *tchanSimpleServiceServer) handleSimple(ctx thrift.Context, pr... method handleSimpleFuture (line 354) | func (s *tchanSimpleServiceServer) handleSimpleFuture(ctx thrift.Conte... function NewTChanSimpleServiceServer (line 275) | func NewTChanSimpleServiceServer(handler TChanSimpleService) thrift.TCha... FILE: thrift/gen-go/test/ttypes.go type Data (line 23) | type Data struct method GetB1 (line 33) | func (p *Data) GetB1() bool { method GetS2 (line 37) | func (p *Data) GetS2() string { method GetI3 (line 41) | func (p *Data) GetI3() int32 { method Read (line 44) | func (p *Data) Read(iprot thrift.TProtocol) error { method ReadField1 (line 101) | func (p *Data) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 110) | func (p *Data) ReadField2(iprot thrift.TProtocol) error { method ReadField3 (line 119) | func (p *Data) ReadField3(iprot thrift.TProtocol) error { method Write (line 128) | func (p *Data) Write(oprot thrift.TProtocol) error { method writeField1 (line 150) | func (p *Data) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 163) | func (p *Data) writeField2(oprot thrift.TProtocol) (err error) { method writeField3 (line 176) | func (p *Data) writeField3(oprot thrift.TProtocol) (err error) { method String (line 189) | func (p *Data) String() string { function NewData (line 29) | func NewData() *Data { type SimpleErr (line 198) | type SimpleErr struct method GetMessage (line 206) | func (p *SimpleErr) GetMessage() string { method Read (line 209) | func (p *SimpleErr) Read(iprot thrift.TProtocol) error { method ReadField1 (line 242) | func (p *SimpleErr) ReadField1(iprot thrift.TProtocol) error { method Write (line 251) | func (p *SimpleErr) Write(oprot thrift.TProtocol) error { method writeField1 (line 267) | func (p *SimpleErr) writeField1(oprot thrift.TProtocol) (err error) { method String (line 280) | func (p *SimpleErr) String() string { method Error (line 287) | func (p *SimpleErr) Error() string { function NewSimpleErr (line 202) | func NewSimpleErr() *SimpleErr { type NewErr_ (line 293) | type NewErr_ struct method GetMessage (line 301) | func (p *NewErr_) GetMessage() string { method Read (line 304) | func (p *NewErr_) Read(iprot thrift.TProtocol) error { method ReadField1 (line 337) | func (p *NewErr_) ReadField1(iprot thrift.TProtocol) error { method Write (line 346) | func (p *NewErr_) Write(oprot thrift.TProtocol) error { method writeField1 (line 362) | func (p *NewErr_) writeField1(oprot thrift.TProtocol) (err error) { method String (line 375) | func (p *NewErr_) String() string { method Error (line 382) | func (p *NewErr_) Error() string { function NewNewErr_ (line 297) | func NewNewErr_() *NewErr_ { type HealthStatus (line 389) | type HealthStatus struct method GetOk (line 398) | func (p *HealthStatus) GetOk() bool { method GetMessage (line 404) | func (p *HealthStatus) GetMessage() string { method IsSetMessage (line 410) | func (p *HealthStatus) IsSetMessage() bool { method Read (line 414) | func (p *HealthStatus) Read(iprot thrift.TProtocol) error { method ReadField1 (line 457) | func (p *HealthStatus) ReadField1(iprot thrift.TProtocol) error { method ReadField2 (line 466) | func (p *HealthStatus) ReadField2(iprot thrift.TProtocol) error { method Write (line 475) | func (p *HealthStatus) Write(oprot thrift.TProtocol) error { method writeField1 (line 494) | func (p *HealthStatus) writeField1(oprot thrift.TProtocol) (err error) { method writeField2 (line 507) | func (p *HealthStatus) writeField2(oprot thrift.TProtocol) (err error) { method String (line 522) | func (p *HealthStatus) String() string { function NewHealthStatus (line 394) | func NewHealthStatus() *HealthStatus { FILE: thrift/headers.go function WriteHeaders (line 32) | func WriteHeaders(w io.Writer, headers map[string]string) error { function readHeaders (line 67) | func readHeaders(reader *typed.Reader) (map[string]string, error) { function ReadHeaders (line 84) | func ReadHeaders(r io.Reader) (map[string]string, error) { FILE: thrift/headers_test.go function TestWriteHeadersSuccessful (line 110) | func TestWriteHeadersSuccessful(t *testing.T) { function TestReadHeadersSuccessful (line 124) | func TestReadHeadersSuccessful(t *testing.T) { function TestReadHeadersLeftoverBytes (line 145) | func TestReadHeadersLeftoverBytes(t *testing.T) { function BenchmarkWriteHeaders (line 157) | func BenchmarkWriteHeaders(b *testing.B) { function BenchmarkReadHeaders (line 163) | func BenchmarkReadHeaders(b *testing.B) { FILE: thrift/interfaces.go type TChanClient (line 30) | type TChanClient interface type TChanServer (line 36) | type TChanServer interface FILE: thrift/meta.go type HealthFunc (line 34) | type HealthFunc type HealthRequestType (line 37) | type HealthRequestType constant Process (line 42) | Process HealthRequestType = iota constant Traffic (line 47) | Traffic type HealthRequest (line 51) | type HealthRequest struct type HealthRequestFunc (line 58) | type HealthRequestFunc type metaHandler (line 61) | type metaHandler struct method Health (line 71) | func (h *metaHandler) Health(ctx Context, req *meta.HealthRequest) (*m... method ThriftIDL (line 79) | func (h *metaHandler) ThriftIDL(ctx Context) (*meta.ThriftIDLs, error) { method VersionInfo (line 84) | func (h *metaHandler) VersionInfo(ctx Context) (*meta.VersionInfo, err... method setHandler (line 96) | func (h *metaHandler) setHandler(f HealthRequestFunc) { function newMetaHandler (line 66) | func newMetaHandler() *metaHandler { function defaultHealth (line 92) | func defaultHealth(ctx Context, r HealthRequest) (bool, string) { function metaReqToReq (line 100) | func metaReqToReq(r *meta.HealthRequest) HealthRequest { FILE: thrift/meta_test.go function TestThriftIDL (line 37) | func TestThriftIDL(t *testing.T) { function TestVersionInfo (line 45) | func TestVersionInfo(t *testing.T) { function TestHealth (line 59) | func TestHealth(t *testing.T) { function TestMetaReqToReq (line 129) | func TestMetaReqToReq(t *testing.T) { function withMetaSetup (line 172) | func withMetaSetup(t *testing.T, f func(ctx Context, c tchanMeta, server... function setupMetaServer (line 185) | func setupMetaServer(t *testing.T) (*tchannel.Channel, *Server) { function getMetaClient (line 191) | func getMetaClient(t *testing.T, dst string) tchanMeta { function stringPtr (line 198) | func stringPtr(s string) *string { FILE: thrift/mocks/TChanMeta.go type TChanMeta (line 8) | type TChanMeta struct method Health (line 12) | func (_m *TChanMeta) Health(ctx thrift.Context) (*meta.HealthStatus, e... FILE: thrift/mocks/TChanSecondService.go type TChanSecondService (line 27) | type TChanSecondService struct method Echo (line 31) | func (_m *TChanSecondService) Echo(_ctx thrift.Context, _arg string) (... FILE: thrift/mocks/TChanSimpleService.go type TChanSimpleService (line 28) | type TChanSimpleService struct method Call (line 32) | func (_m *TChanSimpleService) Call(_ctx thrift.Context, _arg *test.Dat... method Simple (line 53) | func (_m *TChanSimpleService) Simple(_ctx thrift.Context) error { method SimpleFuture (line 65) | func (_m *TChanSimpleService) SimpleFuture(_ctx thrift.Context) error { FILE: thrift/options.go type RegisterOption (line 29) | type RegisterOption interface type PostResponseCB (line 36) | type PostResponseCB type optPostResponse (line 38) | type optPostResponse method Apply (line 45) | func (o optPostResponse) Apply(h *handler) { function OptPostResponse (line 41) | func OptPostResponse(cb PostResponseCB) RegisterOption { FILE: thrift/server.go type handler (line 35) | type handler struct type Server (line 41) | type Server struct method Register (line 70) | func (s *Server) Register(svr TChanServer, opts ...RegisterOption) { method RegisterHealthHandler (line 87) | func (s *Server) RegisterHealthHandler(f HealthFunc) { method RegisterHealthRequestHandler (line 97) | func (s *Server) RegisterHealthRequestHandler(f HealthRequestFunc) { method SetContextFn (line 103) | func (s *Server) SetContextFn(f func(ctx context.Context, method strin... method onError (line 107) | func (s *Server) onError(call *tchannel.InboundCall, err error) { method handle (line 135) | func (s *Server) handle(origCtx context.Context, handler handler, meth... method Handle (line 227) | func (s *Server) Handle(ctx context.Context, call *tchannel.InboundCal... function NewServer (line 51) | func NewServer(registrar tchannel.Registrar) *Server { function defaultContextFn (line 131) | func defaultContextFn(ctx context.Context, method string, headers map[st... function getServiceMethod (line 217) | func getServiceMethod(method string) (string, string, bool) { FILE: thrift/server_test.go type badTStruct (line 17) | type badTStruct struct method Write (line 24) | func (t *badTStruct) Write(p athrift.TProtocol) error { method Read (line 31) | func (t *badTStruct) Read(p athrift.TProtocol) error { type nullTStruct (line 36) | type nullTStruct struct method Write (line 38) | func (*nullTStruct) Write(p athrift.TProtocol) error { method Read (line 42) | func (*nullTStruct) Read(p athrift.TProtocol) error { type thriftStruction (line 53) | type thriftStruction struct method Handle (line 55) | func (ts *thriftStruction) Handle( method Service (line 73) | func (ts *thriftStruction) Service() string { return "destruct" } method Methods (line 75) | func (ts *thriftStruction) Methods() []string { function TestHandleTStructError (line 79) | func TestHandleTStructError(t *testing.T) { FILE: thrift/struct.go function WriteStruct (line 30) | func WriteStruct(writer io.Writer, s thrift.TStruct) error { function ReadStruct (line 38) | func ReadStruct(reader io.Reader, s thrift.TStruct) error { FILE: thrift/struct_test.go function TestReadStruct (line 63) | func TestReadStruct(t *testing.T) { function TestReadStructErr (line 117) | func TestReadStructErr(t *testing.T) { function TestWriteStruct (line 132) | func TestWriteStruct(t *testing.T) { function TestWriteStructErr (line 156) | func TestWriteStructErr(t *testing.T) { function TestParallelReadWrites (line 166) | func TestParallelReadWrites(t *testing.T) { function BenchmarkWriteStruct (line 182) | func BenchmarkWriteStruct(b *testing.B) { function BenchmarkReadStruct (line 190) | func BenchmarkReadStruct(b *testing.B) { FILE: thrift/tchan-meta.go type tchanMeta (line 33) | type tchanMeta interface type tchanMetaClient (line 41) | type tchanMetaClient struct method Health (line 53) | func (c *tchanMetaClient) Health(ctx Context, req *gen.HealthRequest) ... method ThriftIDL (line 65) | func (c *tchanMetaClient) ThriftIDL(ctx Context) (*gen.ThriftIDLs, err... method VersionInfo (line 75) | func (c *tchanMetaClient) VersionInfo(ctx Context) (*gen.VersionInfo, ... function newTChanMetaClient (line 46) | func newTChanMetaClient(client TChanClient) tchanMeta { type tchanMetaServer (line 85) | type tchanMetaServer struct method Service (line 95) | func (s *tchanMetaServer) Service() string { method Methods (line 99) | func (s *tchanMetaServer) Methods() []string { method Handle (line 107) | func (s *tchanMetaServer) Handle(ctx Context, methodName string, proto... method handleHealth (line 121) | func (s *tchanMetaServer) handleHealth(ctx Context, protocol athrift.T... method handleThriftIDL (line 140) | func (s *tchanMetaServer) handleThriftIDL(ctx Context, protocol athrif... method handleVersionInfo (line 159) | func (s *tchanMetaServer) handleVersionInfo(ctx Context, protocol athr... function newTChanMetaServer (line 89) | func newTChanMetaServer(handler tchanMeta) TChanServer { FILE: thrift/thrift-gen/compile_test.go constant _tchannelPackage (line 43) | _tchannelPackage = "github.com/uber/tchannel-go" function TestMain (line 50) | func TestMain(m *testing.M) { function getTChannelDir (line 61) | func getTChannelDir(goPath string) string { function getCurrentTChannelPath (line 65) | func getCurrentTChannelPath(t *testing.T) string { function createGoPath (line 80) | func createGoPath(t *testing.T) { function getOutputDir (line 107) | func getOutputDir(t *testing.T) (dir, pkg string) { function TestAllThrift (line 119) | func TestAllThrift(t *testing.T) { function TestIncludeThrift (line 135) | func TestIncludeThrift(t *testing.T) { function TestMultipleFiles (line 152) | func TestMultipleFiles(t *testing.T) { function TestExternalTemplate (line 158) | func TestExternalTemplate(t *testing.T) { function writeTempFile (line 204) | func writeTempFile(t *testing.T, contents string) string { function verifyFileContents (line 213) | func verifyFileContents(filename, expected string) error { function copyFile (line 227) | func copyFile(src, dst string) error { function setupDirectory (line 245) | func setupDirectory(thriftFile string) (string, error) { function createAdditionalTestFile (line 254) | func createAdditionalTestFile(thriftFile, tempDir string) error { function checkDirectoryFiles (line 289) | func checkDirectoryFiles(dir string, n int) error { function runBuildTest (line 302) | func runBuildTest(t *testing.T, thriftFile string) error { function runTest (line 311) | func runTest(t *testing.T, opts processOptions, extraChecks func(string)... FILE: thrift/thrift-gen/extends.go function setExtends (line 32) | func setExtends(state map[string]parseState) error { FILE: thrift/thrift-gen/generate.go function execCmd (line 38) | func execCmd(name string, args ...string) error { function execThrift (line 45) | func execThrift(args ...string) error { function deleteRemote (line 49) | func deleteRemote(dir string) error { function runThrift (line 67) | func runThrift(inFile string, outDir string) error { FILE: thrift/thrift-gen/gopath.go function ResolveWithGoPath (line 31) | func ResolveWithGoPath(filename string) (string, error) { function goPathCandidates (line 41) | func goPathCandidates(filename string) []string { FILE: thrift/thrift-gen/gopath_test.go function getFakeFS (line 34) | func getFakeFS(t *testing.T) string { function TestGoPathCandidates (line 52) | func TestGoPathCandidates(t *testing.T) { function TestResolveWithGoPath (line 87) | func TestResolveWithGoPath(t *testing.T) { FILE: thrift/thrift-gen/include.go type Include (line 26) | type Include struct method Import (line 33) | func (i *Include) Import() string { method Package (line 41) | func (i *Include) Package() string { function createIncludes (line 45) | func createIncludes(parsed *parser.Thrift, all map[string]parseState) ma... FILE: thrift/thrift-gen/main.go constant tchannelThriftImport (line 40) | tchannelThriftImport = "github.com/uber/tchannel-go/thrift" type TemplateData (line 53) | type TemplateData struct type imports (line 65) | type imports struct function main (line 70) | func main() { type processOptions (line 88) | type processOptions struct function processFile (line 96) | func processFile(opts processOptions) error { type parseState (line 131) | type parseState struct function parseTemplates (line 139) | func parseTemplates(skipTChannel bool, templateFiles []string) ([]*Templ... function parseFile (line 161) | func parseFile(inputFile string) (map[string]parseState, error) { function defaultPackageName (line 183) | func defaultPackageName(fullPath string) string { function getNamespace (line 189) | func getNamespace(filename string, v *parser.Thrift) string { function generateCode (line 198) | func generateCode(outputFile string, template *Template, pkg string, sta... type stringSliceFlag (line 220) | type stringSliceFlag method String (line 222) | func (s *stringSliceFlag) String() string { method Set (line 226) | func (s *stringSliceFlag) Set(in string) error { function NewStringSliceFlag (line 232) | func NewStringSliceFlag(name string, usage string) *[]string { FILE: thrift/thrift-gen/names.go function goName (line 98) | func goName(name string) string { function camelCase (line 115) | func camelCase(name string, publicName bool) string { function avoidThriftClash (line 144) | func avoidThriftClash(name string) string { function goPublicName (line 154) | func goPublicName(name string) string { function goPublicFieldName (line 159) | func goPublicFieldName(name string) string { FILE: thrift/thrift-gen/template.go type Template (line 36) | type Template struct method withStateFuncs (line 87) | func (t *Template) withStateFuncs(td TemplateData) *template.Template { method execute (line 93) | func (t *Template) execute(outputFile string, td TemplateData) error { method outputFile (line 109) | func (t *Template) outputFile(pkg string) string { function dummyGoType (line 44) | func dummyGoType() string { function parseTemplate (line 48) | func parseTemplate(contents string) (*template.Template, error) { function parseTemplateFile (line 58) | func parseTemplateFile(file string) (*Template, error) { function contextType (line 77) | func contextType() string { function cleanGeneratedCode (line 81) | func cleanGeneratedCode(generated []byte) []byte { FILE: thrift/thrift-gen/typestate.go type State (line 30) | type State struct method isBasicType (line 63) | func (s *State) isBasicType(thriftType string) bool { method rootType (line 69) | func (s *State) rootType(thriftType *parser.Type) *parser.Type { method checkInclude (line 82) | func (s *State) checkInclude(thriftType *parser.Type) (*State, *parser... method isResultPointer (line 97) | func (s *State) isResultPointer(thriftType *parser.Type) bool { method goType (line 103) | func (s *State) goType(thriftType *parser.Type) string { method goTypePrefix (line 108) | func (s *State) goTypePrefix(prefix string, thriftType *parser.Type) s... function newState (line 42) | func newState(v *parser.Thrift, all map[string]parseState) *State { function setIncludes (line 57) | func setIncludes(all map[string]parseState) { FILE: thrift/thrift-gen/validate.go function Validate (line 30) | func Validate(svc *parser.Service) error { function validateMethod (line 39) | func validateMethod(svc *parser.Service, m *parser.Method) error { FILE: thrift/thrift-gen/wrap.go type byServiceName (line 11) | type byServiceName method Len (line 13) | func (l byServiceName) Len() int { return len(l) } method Less (line 14) | func (l byServiceName) Less(i, j int) bool { return l[i].Service.Name ... method Swap (line 15) | func (l byServiceName) Swap(i, j int) { l[i], l[j] = l[j], l[i] } function wrapServices (line 17) | func wrapServices(v *parser.Thrift, state *State) ([]*Service, error) { type Service (line 36) | type Service struct method ThriftName (line 51) | func (s *Service) ThriftName() string { method Interface (line 56) | func (s *Service) Interface() string { method ClientStruct (line 61) | func (s *Service) ClientStruct() string { method ClientConstructor (line 66) | func (s *Service) ClientConstructor() string { method InheritedClientConstructor (line 73) | func (s *Service) InheritedClientConstructor() string { method ServerStruct (line 78) | func (s *Service) ServerStruct() string { method ServerConstructor (line 83) | func (s *Service) ServerConstructor() string { method HasExtends (line 88) | func (s *Service) HasExtends() bool { method ExtendsServicePrefix (line 93) | func (s *Service) ExtendsServicePrefix() string { method Methods (line 107) | func (s *Service) Methods() []*Method { method InheritedMethods (line 120) | func (s *Service) InheritedMethods() []string { type byMethodName (line 100) | type byMethodName method Len (line 102) | func (l byMethodName) Len() int { return len(l) } method Less (line 103) | func (l byMethodName) Less(i, j int) bool { return l[i].Method.Name < ... method Swap (line 104) | func (l byMethodName) Swap(i, j int) { l[i], l[j] = l[j], l[i] } type Method (line 136) | type Method struct method ThriftName (line 144) | func (m *Method) ThriftName() string { method Name (line 149) | func (m *Method) Name() string { method HandleFunc (line 154) | func (m *Method) HandleFunc() string { method Arguments (line 159) | func (m *Method) Arguments() []*Field { method Exceptions (line 168) | func (m *Method) Exceptions() []*Field { method HasReturn (line 177) | func (m *Method) HasReturn() bool { method HasExceptions (line 182) | func (m *Method) HasExceptions() bool { method argResPrefix (line 186) | func (m *Method) argResPrefix() string { method ArgsType (line 191) | func (m *Method) ArgsType() string { method ResultType (line 196) | func (m *Method) ResultType() string { method ArgList (line 201) | func (m *Method) ArgList() string { method CallList (line 210) | func (m *Method) CallList(reqStruct string) string { method RetType (line 219) | func (m *Method) RetType() string { method WrapResult (line 227) | func (m *Method) WrapResult(respVar string) string { method ReturnWith (line 239) | func (m *Method) ReturnWith(respName string, errName string) string { type Field (line 247) | type Field struct method Declaration (line 254) | func (a *Field) Declaration() string { method Name (line 259) | func (a *Field) Name() string { method ArgType (line 264) | func (a *Field) ArgType() string { method ArgStructName (line 269) | func (a *Field) ArgStructName() string { FILE: thrift/thrift_bench_test.go constant callBatch (line 35) | callBatch = 100 function init (line 44) | func init() { function BenchmarkBothSerial (line 48) | func BenchmarkBothSerial(b *testing.B) { function BenchmarkInboundSerial (line 65) | func BenchmarkInboundSerial(b *testing.B) { function BenchmarkInboundParallel (line 84) | func BenchmarkInboundParallel(b *testing.B) { FILE: thrift/thrift_test.go type testArgs (line 50) | type testArgs struct function ctxArg (line 61) | func ctxArg() mock.AnythingOfTypeArgument { function TestThriftArgs (line 65) | func TestThriftArgs(t *testing.T) { function TestRequest (line 85) | func TestRequest(t *testing.T) { function TestRetryRequest (line 92) | func TestRetryRequest(t *testing.T) { function TestRequestSubChannel (line 104) | func TestRequestSubChannel(t *testing.T) { function TestLargeRequest (line 133) | func TestLargeRequest(t *testing.T) { function TestThriftError (line 148) | func TestThriftError(t *testing.T) { function TestThriftUnknownError (line 160) | func TestThriftUnknownError(t *testing.T) { function TestThriftNilErr (line 180) | func TestThriftNilErr(t *testing.T) { function TestThriftDecodeEmptyFrameServer (line 191) | func TestThriftDecodeEmptyFrameServer(t *testing.T) { function TestThriftDecodeEmptyFrameClient (line 229) | func TestThriftDecodeEmptyFrameClient(t *testing.T) { function TestUnknownError (line 265) | func TestUnknownError(t *testing.T) { function TestMultiple (line 274) | func TestMultiple(t *testing.T) { function TestHeaders (line 286) | func TestHeaders(t *testing.T) { function TestClientHostPort (line 303) | func TestClientHostPort(t *testing.T) { function TestRegisterPostResponseCB (line 336) | func TestRegisterPostResponseCB(t *testing.T) { function TestRegisterPostResponseCBCalledOnError (line 383) | func TestRegisterPostResponseCBCalledOnError(t *testing.T) { function TestThriftTimeout (line 428) | func TestThriftTimeout(t *testing.T) { function TestThriftContextFn (line 452) | func TestThriftContextFn(t *testing.T) { function TestThriftMetaHealthNoArgs (line 467) | func TestThriftMetaHealthNoArgs(t *testing.T) { function withSetup (line 476) | func withSetup(t *testing.T, f func(ctx Context, args testArgs)) { function setupServer (line 497) | func setupServer(t *testing.T, h *mocks.TChanSimpleService, sh *mocks.TC... function getClients (line 505) | func getClients(t *testing.T, serverInfo tchannel.LocalPeerInfo, svcName... function withReader (line 516) | func withReader(t *testing.T, readerFn func() (tchannel.ArgReader, error... function withWriter (line 526) | func withWriter(t *testing.T, writerFn func() (tchannel.ArgWriter, error... type rewriteMethodClient (line 536) | type rewriteMethodClient struct method Call (line 541) | func (c rewriteMethodClient) Call(ctx Context, serviceName, methodName... FILE: thrift/tracing_test.go type ThriftHandler (line 16) | type ThriftHandler struct method Call (line 50) | func (h *ThriftHandler) Call(ctx thrift.Context, arg *gen.Data) (*gen.... method firstCall (line 67) | func (h *ThriftHandler) firstCall(ctx context.Context, req *TracingReq... function requestFromThrift (line 24) | func requestFromThrift(req *gen.Data) *TracingRequest { function requestToThrift (line 30) | func requestToThrift(r *TracingRequest) *gen.Data { function responseFromThrift (line 34) | func responseFromThrift(t *testing.T, res *gen.Data) (*TracingResponse, ... function responseToThrift (line 42) | func responseToThrift(t *testing.T, r *TracingResponse) (*gen.Data, erro... function TestThriftTracingPropagation (line 76) | func TestThriftTracingPropagation(t *testing.T) { FILE: thrift/transport.go type readWriterTransport (line 32) | type readWriterTransport struct method Open (line 42) | func (t *readWriterTransport) Open() error { method Flush (line 46) | func (t *readWriterTransport) Flush() error { method IsOpen (line 50) | func (t *readWriterTransport) IsOpen() bool { method Close (line 54) | func (t *readWriterTransport) Close() error { method ReadByte (line 58) | func (t *readWriterTransport) ReadByte() (byte, error) { method WriteByte (line 77) | func (t *readWriterTransport) WriteByte(b byte) error { method WriteString (line 85) | func (t *readWriterTransport) WriteString(s string) (int, error) { method RemainingBytes (line 106) | func (t *readWriterTransport) RemainingBytes() uint64 { type thriftProtocol (line 113) | type thriftProtocol struct function getProtocolWriter (line 126) | func getProtocolWriter(writer io.Writer) *thriftProtocol { function getProtocolReader (line 133) | func getProtocolReader(reader io.Reader) *thriftProtocol { FILE: thrift/transport_test.go function writeByte (line 34) | func writeByte(writer io.Writer, b byte) error { function TestWriteByteSuccess (line 39) | func TestWriteByteSuccess(t *testing.T) { function TestWriteByteFailed (line 47) | func TestWriteByteFailed(t *testing.T) { function TestReadByte0Byte (line 56) | func TestReadByte0Byte(t *testing.T) { FILE: tnet/listener.go function Wrap (line 32) | func Wrap(l net.Listener) net.Listener { type listener (line 53) | type listener struct method incRef (line 61) | func (s *listener) incRef() { method decRef (line 67) | func (s *listener) decRef() { method Accept (line 78) | func (s *listener) Accept() (net.Conn, error) { method Close (line 86) | func (s *listener) Close() error { FILE: tnet/listener_test.go function TestListenerAcceptAfterClose (line 32) | func TestListenerAcceptAfterClose(t *testing.T) { function runTest (line 47) | func runTest(t *testing.T) { function connect (line 92) | func connect(addr string) error { FILE: tos/tos.go type ToS (line 27) | type ToS constant CS3 (line 34) | CS3 ToS = 0x18 constant CS4 (line 36) | CS4 ToS = 0x20 constant CS5 (line 38) | CS5 ToS = 0x28 constant CS6 (line 40) | CS6 ToS = 0x30 constant CS7 (line 42) | CS7 ToS = 0x38 constant AF11 (line 44) | AF11 ToS = 0x0a constant AF12 (line 46) | AF12 ToS = 0x0c constant AF13 (line 48) | AF13 ToS = 0x0e constant AF21 (line 50) | AF21 ToS = 0x12 constant AF22 (line 52) | AF22 ToS = 0x14 constant AF23 (line 54) | AF23 ToS = 0x16 constant AF31 (line 56) | AF31 ToS = 0x1a constant AF32 (line 58) | AF32 ToS = 0x1c constant AF33 (line 60) | AF33 ToS = 0x1e constant AF41 (line 62) | AF41 ToS = 0x22 constant AF42 (line 64) | AF42 ToS = 0x24 constant AF43 (line 66) | AF43 ToS = 0x26 constant EF (line 68) | EF ToS = 0x2e constant Lowdelay (line 70) | Lowdelay ToS = 0x10 constant Throughput (line 72) | Throughput ToS = 0x08 constant Reliability (line 74) | Reliability ToS = 0x04 constant Lowcost (line 76) | Lowcost ToS = 0x02 FILE: tos/tos_string.go function init (line 33) | func init() { method MarshalText (line 41) | func (r ToS) MarshalText() ([]byte, error) { method UnmarshalText (line 46) | func (r *ToS) UnmarshalText(data []byte) error { FILE: tos/tos_test.go function TestMarshal (line 30) | func TestMarshal(t *testing.T) { function TestUnmarshalUnknown (line 43) | func TestUnmarshalUnknown(t *testing.T) { FILE: tracing.go constant zipkinSpanFormat (line 39) | zipkinSpanFormat = "zipkin-span-format" constant componentName (line 41) | componentName = "tchannel-go" type Span (line 45) | type Span struct method String (line 61) | func (s Span) String() string { method read (line 65) | func (s *Span) read(r *typed.ReadBuffer) error { method write (line 73) | func (s *Span) write(w *typed.WriteBuffer) error { method initRandom (line 81) | func (s *Span) initRandom() { method TraceID (line 89) | func (s Span) TraceID() uint64 { return s.traceID } method ParentID (line 92) | func (s Span) ParentID() uint64 { return s.parentID } method SpanID (line 95) | func (s Span) SpanID() uint64 { return s.spanID } method Flags (line 98) | func (s Span) Flags() byte { return s.flags } type injectableSpan (line 100) | type injectableSpan method SetTraceID (line 103) | func (s *injectableSpan) SetTraceID(traceID uint64) { s.traceID = trac... method SetSpanID (line 106) | func (s *injectableSpan) SetSpanID(spanID uint64) { s.spanID = spanID } method SetParentID (line 109) | func (s *injectableSpan) SetParentID(parentID uint64) { s.parentID = p... method SetFlags (line 112) | func (s *injectableSpan) SetFlags(flags byte) { s.flags = flags } method initFromOpenTracing (line 116) | func (s *injectableSpan) initFromOpenTracing(span opentracing.Span) er... function CurrentSpan (line 123) | func CurrentSpan(ctx context.Context) *Span { method startOutboundSpan (line 141) | func (c *Connection) startOutboundSpan(ctx context.Context, serviceName,... function InjectOutboundSpan (line 175) | func InjectOutboundSpan(response *OutboundCallResponse, headers map[stri... method extractInboundSpan (line 205) | func (c *Connection) extractInboundSpan(callReq *callReq) opentracing.Sp... function ExtractInboundSpan (line 233) | func ExtractInboundSpan(ctx context.Context, call *InboundCall, headers ... method setPeerHostPort (line 267) | func (c *Connection) setPeerHostPort(span opentracing.Span) { type tracerProvider (line 282) | type tracerProvider interface function TracerFromRegistrar (line 288) | func TracerFromRegistrar(registrar Registrar) opentracing.Tracer { FILE: tracing_internal_test.go function TestTracingSpanEncoding (line 38) | func TestTracingSpanEncoding(t *testing.T) { function TestTracingInjectorExtractor (line 67) | func TestTracingInjectorExtractor(t *testing.T) { function TestSpanString (line 86) | func TestSpanString(t *testing.T) { function TestSetPeerHostPort (line 91) | func TestSetPeerHostPort(t *testing.T) { function TestExtractInboundSpanWithZipkinTracer (line 139) | func TestExtractInboundSpanWithZipkinTracer(t *testing.T) { type zipkinInjector (line 204) | type zipkinInjector struct method Inject (line 206) | func (z *zipkinInjector) Inject(sc mocktracer.MockSpanContext, carrier... type zipkinExtractor (line 221) | type zipkinExtractor struct method Extract (line 223) | func (z *zipkinExtractor) Extract(carrier interface{}) (mocktracer.Moc... FILE: tracing_keys.go constant tracingKeyPrefix (line 31) | tracingKeyPrefix = "$tracing$" constant tracingKeyMappingSize (line 34) | tracingKeyMappingSize = 100 type tracingKeysMapping (line 36) | type tracingKeysMapping struct method mapAndCache (line 56) | func (m *tracingKeysMapping) mapAndCache(key string) string { type tracingHeadersCarrier (line 75) | type tracingHeadersCarrier method Set (line 78) | func (c tracingHeadersCarrier) Set(key, val string) { method ForeachKey (line 84) | func (c tracingHeadersCarrier) ForeachKey(handler func(key, val string... method RemoveTracingKeys (line 97) | func (c tracingHeadersCarrier) RemoveTracingKeys() { FILE: tracing_test.go type JSONHandler (line 43) | type JSONHandler struct method callJSON (line 49) | func (h *JSONHandler) callJSON(ctx json.Context, req *testtracing.Trac... method onError (line 58) | func (h *JSONHandler) onError(ctx context.Context, err error) { h.t.Er... function TestTracingSpanAttributes (line 60) | func TestTracingSpanAttributes(t *testing.T) { function TestReusableHeaders (line 177) | func TestReusableHeaders(t *testing.T) { FILE: trand/rand.go type lockedSource (line 33) | type lockedSource struct method Int63 (line 50) | func (r *lockedSource) Int63() (n int64) { method Seed (line 57) | func (r *lockedSource) Seed(seed int64) { function New (line 40) | func New(seed int64) *rand.Rand { function NewSeeded (line 46) | func NewSeeded() *rand.Rand { FILE: typed/buffer.go type ReadBuffer (line 44) | type ReadBuffer struct method ReadSingleByte (line 56) | func (r *ReadBuffer) ReadSingleByte() byte { method ReadByte (line 64) | func (r *ReadBuffer) ReadByte() (byte, error) { method ReadBytes (line 80) | func (r *ReadBuffer) ReadBytes(n int) []byte { method SkipBytes (line 96) | func (r *ReadBuffer) SkipBytes(n int) { method ReadString (line 110) | func (r *ReadBuffer) ReadString(n int) string { method ReadUint16 (line 120) | func (r *ReadBuffer) ReadUint16() uint16 { method ReadUint32 (line 129) | func (r *ReadBuffer) ReadUint32() uint32 { method ReadUint64 (line 138) | func (r *ReadBuffer) ReadUint64() uint64 { method ReadUvarint (line 147) | func (r *ReadBuffer) ReadUvarint() uint64 { method ReadLen8String (line 153) | func (r *ReadBuffer) ReadLen8String() string { method ReadLen16String (line 159) | func (r *ReadBuffer) ReadLen16String() string { method Remaining (line 165) | func (r *ReadBuffer) Remaining() []byte { method BytesRemaining (line 170) | func (r *ReadBuffer) BytesRemaining() int { method BytesRead (line 175) | func (r *ReadBuffer) BytesRead() int { method Wrap (line 180) | func (r *ReadBuffer) Wrap(b []byte) { method Err (line 187) | func (r *ReadBuffer) Err() error { return r.err } function NewReadBuffer (line 51) | func NewReadBuffer(buffer []byte) *ReadBuffer { type WriteBuffer (line 191) | type WriteBuffer struct method WriteSingleByte (line 208) | func (w *WriteBuffer) WriteSingleByte(n byte) { method WriteBytes (line 223) | func (w *WriteBuffer) WriteBytes(in []byte) { method WriteUint16 (line 230) | func (w *WriteBuffer) WriteUint16(n uint16) { method WriteUint32 (line 237) | func (w *WriteBuffer) WriteUint32(n uint32) { method WriteUint64 (line 244) | func (w *WriteBuffer) WriteUint64(n uint64) { method WriteUvarint (line 251) | func (w *WriteBuffer) WriteUvarint(n uint64) { method WriteString (line 261) | func (w *WriteBuffer) WriteString(s string) { method WriteLen8String (line 270) | func (w *WriteBuffer) WriteLen8String(s string) { method WriteLen16String (line 280) | func (w *WriteBuffer) WriteLen16String(s string) { method DeferByte (line 291) | func (w *WriteBuffer) DeferByte() ByteRef { method DeferUint16 (line 306) | func (w *WriteBuffer) DeferUint16() Uint16Ref { method DeferUint32 (line 312) | func (w *WriteBuffer) DeferUint32() Uint32Ref { method DeferUint64 (line 318) | func (w *WriteBuffer) DeferUint64() Uint64Ref { method DeferBytes (line 324) | func (w *WriteBuffer) DeferBytes(n int) BytesRef { method deferred (line 328) | func (w *WriteBuffer) deferred(n int) []byte { method reserve (line 336) | func (w *WriteBuffer) reserve(n int) []byte { method BytesRemaining (line 352) | func (w *WriteBuffer) BytesRemaining() int { method FlushTo (line 357) | func (w *WriteBuffer) FlushTo(iow io.Writer) (int, error) { method BytesWritten (line 363) | func (w *WriteBuffer) BytesWritten() int { return len(w.buffer) - len(... method Reset (line 366) | func (w *WriteBuffer) Reset() { method setErr (line 371) | func (w *WriteBuffer) setErr(err error) { method Err (line 381) | func (w *WriteBuffer) Err() error { return w.err } method Wrap (line 384) | func (w *WriteBuffer) Wrap(b []byte) { function NewWriteBuffer (line 198) | func NewWriteBuffer(buffer []byte) *WriteBuffer { function NewWriteBufferWithSize (line 203) | func NewWriteBufferWithSize(size int) *WriteBuffer { type ByteRef (line 390) | type ByteRef method Update (line 393) | func (ref ByteRef) Update(b byte) { type Uint16Ref (line 400) | type Uint16Ref method Update (line 403) | func (ref Uint16Ref) Update(n uint16) { type Uint32Ref (line 410) | type Uint32Ref method Update (line 413) | func (ref Uint32Ref) Update(n uint32) { type Uint64Ref (line 420) | type Uint64Ref method Update (line 423) | func (ref Uint64Ref) Update(n uint64) { type BytesRef (line 430) | type BytesRef method Update (line 433) | func (ref BytesRef) Update(b []byte) { method UpdateString (line 440) | func (ref BytesRef) UpdateString(s string) { FILE: typed/buffer_test.go function TestSimple (line 33) | func TestSimple(t *testing.T) { function TestReadBufferSkipBytes (line 61) | func TestReadBufferSkipBytes(t *testing.T) { function TestShortBuffer (line 115) | func TestShortBuffer(t *testing.T) { function TestReadWrite (line 121) | func TestReadWrite(t *testing.T) { function TestReadBufferTracking (line 141) | func TestReadBufferTracking(t *testing.T) { function TestDeferredWrites (line 179) | func TestDeferredWrites(t *testing.T) { function TestDirtyUnderlyingBuffer (line 233) | func TestDirtyUnderlyingBuffer(t *testing.T) { FILE: typed/reader.go constant maxPoolStringLen (line 29) | maxPoolStringLen = 32 type Reader (line 32) | type Reader struct method ReadUint16 (line 53) | func (r *Reader) ReadUint16() uint16 { method ReadString (line 69) | func (r *Reader) ReadString(n int) string { method ReadLen16String (line 92) | func (r *Reader) ReadLen16String() string { method Err (line 98) | func (r *Reader) Err() error { method Release (line 103) | func (r *Reader) Release() { function NewReader (line 45) | func NewReader(reader io.Reader) *Reader { FILE: typed/reader_test.go function nString (line 32) | func nString(n int) []byte { function TestReader (line 39) | func TestReader(t *testing.T) { function TestReaderErr (line 61) | func TestReaderErr(t *testing.T) { FILE: typed/writer.go type intBuffer (line 29) | type intBuffer type Writer (line 36) | type Writer struct method WriteBytes (line 49) | func (w *Writer) WriteBytes(b []byte) { method WriteUint16 (line 60) | func (w *Writer) WriteUint16(n uint16) { method WriteLen16Bytes (line 76) | func (w *Writer) WriteLen16Bytes(b []byte) { method Err (line 86) | func (w *Writer) Err() error { function NewWriter (line 42) | func NewWriter(w io.Writer) *Writer { FILE: typed/writer_test.go type dummyWriter (line 11) | type dummyWriter struct method Write (line 18) | func (w *dummyWriter) Write(b []byte) (int, error) { function TestWriter (line 28) | func TestWriter(t *testing.T) { FILE: utils_for_test.go constant MexChannelBufferSize (line 33) | MexChannelBufferSize = mexChannelBufferSize method SetOnUpdate (line 37) | func (p *Peer) SetOnUpdate(f func(*Peer)) { method SetRandomSeed (line 45) | func (ch *Channel) SetRandomSeed(seed int64) { method Ping (line 54) | func (c *Connection) Ping(ctx context.Context) error { method Logger (line 59) | func (c *Connection) Logger() Logger { method StopHealthCheck (line 64) | func (c *Connection) StopHealthCheck() { function OutboundConnection (line 69) | func OutboundConnection(call *OutboundCall) (*Connection, net.Conn) { function InboundConnection (line 75) | func InboundConnection(call IncomingCall) (*Connection, net.Conn) { FILE: verify_utils_test.go function WithVerifiedServer (line 33) | func WithVerifiedServer(t *testing.T, opts *testutils.ChannelOpts, f fun... FILE: version.go constant VersionInfo (line 26) | VersionInfo = "1.34.6-dev"