gorpcvtgateservice

package
v0.0.0-...-9a5932e Latest Latest
Warning

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

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

Documentation

Overview

Package gorpcvtgateservice provides to go rpc glue for vtgate

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type VTGate

type VTGate struct {
	// contains filtered or unexported fields
}

func (*VTGate) Begin

func (vtg *VTGate) Begin(context *rpcproto.Context, noInput *rpc.UnusedRequest, outSession *proto.Session) error

func (*VTGate) Commit

func (vtg *VTGate) Commit(context *rpcproto.Context, inSession *proto.Session, noOutput *rpc.UnusedResponse) error

func (*VTGate) ExecuteBatchShard

func (vtg *VTGate) ExecuteBatchShard(context *rpcproto.Context, batchQuery *proto.BatchQueryShard, reply *proto.QueryResultList) error

func (*VTGate) ExecuteShard

func (vtg *VTGate) ExecuteShard(context *rpcproto.Context, query *proto.QueryShard, reply *proto.QueryResult) error

func (*VTGate) Rollback

func (vtg *VTGate) Rollback(context *rpcproto.Context, inSession *proto.Session, noOutput *rpc.UnusedResponse) error

func (*VTGate) StreamExecuteKeyRange

func (vtg *VTGate) StreamExecuteKeyRange(context *rpcproto.Context, query *proto.StreamQueryKeyRange, sendReply func(interface{}) error) error

func (*VTGate) StreamExecuteShard

func (vtg *VTGate) StreamExecuteShard(context *rpcproto.Context, query *proto.QueryShard, sendReply func(interface{}) error) error

Jump to

Keyboard shortcuts

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