Help us shape the future of Go! Take the 2026 Go Developer Survey

inputstream

package
v1.91.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudStreamHandler

type CloudStreamHandler struct {
	// members below should be set by the caller
	Stream        executorpb.SpannerExecutorProxy_ExecuteActionAsyncServer
	ServerContext context.Context
	Options       []option.ClientOption
	// contains filtered or unexported fields
}

CloudStreamHandler handles a streaming ExecuteActions request by performing incoming actions. It maintains a state associated with the request, such as current transaction.

func (*CloudStreamHandler) Execute

func (h *CloudStreamHandler) Execute() error

Execute executes the given ExecuteActions request, blocking until it's done. It takes care of properly closing the request stream in the end.

Jump to

Keyboard shortcuts

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