tchannel

package
v0.0.0-...-aff9e74 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2016 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(ch *tchannel.Channel, serviceName string, batchSize int) transport.Transport

New creates a reporter that submits spans to a TChannel service `serviceName`

Types

type Transport

type Transport struct {
	Client zipkincore.TChanZipkinCollector
	// contains filtered or unexported fields
}

Transport submits Thrift spans over TChannel

func (*Transport) Append

func (s *Transport) Append(span *zipkincore.Span) (int, error)

Append implements Append() of Sender

func (*Transport) Close

func (s *Transport) Close() error

Close implements Close() of Sender. Does nothing, since we do not own the TChannel.

func (*Transport) Flush

func (s *Transport) Flush() (int, error)

Flush implements Flush() of Sender

Jump to

Keyboard shortcuts

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