package inputstream
import "cloud.google.com/go/spanner/test/cloudexecutor/executor/internal/inputstream"
Index ¶
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.
Source Files ¶
handler.go
- Version
- v1.76.1 (latest)
- Published
- Feb 21, 2025
- Platform
- linux/amd64
- Imports
- 12 packages
- Last checked
- 14 hours ago –
Tools for package owners.