internal

package
v1.14.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ThriftModule = &thriftreflect.ThriftModule{Name: "internal", Package: "go.uber.org/yarpc/serialize/internal", FilePath: "internal.thrift", SHA1: "c60c5759efeaa1545aebd396d371509bc561b153", Raw: rawIDL}

Functions

This section is empty.

Types

type RPC

type RPC struct {
	SpanContext     []byte            `json:"spanContext,required"`
	CallerName      string            `json:"callerName,required"`
	ServiceName     string            `json:"serviceName,required"`
	Encoding        string            `json:"encoding,required"`
	Procedure       string            `json:"procedure,required"`
	Headers         map[string]string `json:"headers"`
	ShardKey        *string           `json:"shardKey,omitempty"`
	RoutingKey      *string           `json:"routingKey,omitempty"`
	RoutingDelegate *string           `json:"routingDelegate,omitempty"`
	Body            []byte            `json:"body"`
}

func (*RPC) Equals added in v1.8.0

func (v *RPC) Equals(rhs *RPC) bool

func (*RPC) FromWire

func (v *RPC) FromWire(w wire.Value) error

func (*RPC) GetRoutingDelegate added in v1.14.0

func (v *RPC) GetRoutingDelegate() (o string)

func (*RPC) GetRoutingKey added in v1.14.0

func (v *RPC) GetRoutingKey() (o string)

func (*RPC) GetShardKey added in v1.14.0

func (v *RPC) GetShardKey() (o string)

func (*RPC) String

func (v *RPC) String() string

func (*RPC) ToWire

func (v *RPC) ToWire() (wire.Value, error)

Jump to

Keyboard shortcuts

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