package wrap

import "github.com/ydb-platform/ydb-go-sdk/v3/internal/wrap"

Index

Types

type StreamOperationResponse

type StreamOperationResponse interface {
	GetStatus() Ydb.StatusIds_StatusCode
	GetIssues() []*Ydb_Issue.IssueMessage
}

StreamOperationResponse is an interface that provides access to the API-specific response fields.

NOTE: YDB API currently does not provide generic response wrapper as it does with RPC API. Thus wee need to generalize it by the hand using this interface.

This generalization is needed for checking status codes and issues in one place.

Source Files

wrap.go

Version
v3.6.0
Published
Jan 4, 2022
Platform
js/wasm
Imports
2 packages
Last checked
4 minutes ago

Tools for package owners.