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.4.4
Published
Dec 9, 2021
Platform
darwin/amd64
Imports
2 packages
Last checked
1 second ago

Tools for package owners.