service

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2018 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

This file is generated by protoc-gen-persist Source File: examples/spanner/import_tests/persist_and_go.proto DO NOT EDIT !

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AggRequests

func AggRequests(req *t.ExampleTable, res *it.AggExampleTables) error

func TestAfterHook

func TestAfterHook(req *t.ExampleTable, res *it.ExampleTable) error

func TestBeforeHook

func TestBeforeHook(req *t.ExampleTable) (*it.ExampleTable, error)

Types

type MySpannerImpl

type MySpannerImpl struct {
	SpannerDB *spanner.Client
}

func (*MySpannerImpl) ClientStream

func (s *MySpannerImpl) ClientStream(stream pb.MySpanner_ClientStreamServer) error

spanner client streaming ClientStream

func (*MySpannerImpl) ServerStream

func (s *MySpannerImpl) ServerStream(req *test.ExampleTable, stream pb.MySpanner_ServerStreamServer) error

spanner server streaming ServerStream

func (*MySpannerImpl) UniaryInsert

func (s *MySpannerImpl) UniaryInsert(ctx context.Context, req *test.ExampleTable) (*pb.ExampleTable, error)

spanner unary select UniaryInsert

Jump to

Keyboard shortcuts

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