gorpccallerid

package
v2.0.0-beta.1+incompat... Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2016 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoRPCEffectiveCallerID

func GoRPCEffectiveCallerID(c *CallerID) *vtrpcpb.CallerID

GoRPCEffectiveCallerID creates new EffectiveCallerID(vtrpcpb.CallerID) from GoRPC's CallerID

func GoRPCImmediateCallerID

func GoRPCImmediateCallerID(v *VTGateCallerID) *querypb.VTGateCallerID

GoRPCImmediateCallerID creates new ImmediateCallerID(querypb.VTGateCallerID) from GoRPC's VTGateCallerID

Types

type CallerID

type CallerID struct {
	Principal    string
	Component    string
	Subcomponent string
}

CallerID is the BSON implementation of the proto3 vtrpc.CallerID

type VTGateCallerID

type VTGateCallerID struct {
	Username string
}

VTGateCallerID is the BSON implementation of the proto3 query.VTGateCallerID

Jump to

Keyboard shortcuts

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