internalapi

package
v2.12.15 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Deprecated: file was moved to ydb package To use it, rename the import to github.com/yandex-cloud/ydb-go-sdk/v2

Deprecated: file was moved to ydb package To use it, rename the import to github.com/yandex-cloud/ydb-go-sdk/v2

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NoOpResponse

type NoOpResponse = internal.NoOpResponse

type OpResponse

type OpResponse = internal.OpResponse

type Operation

type Operation = internal.Operation

func Wrap

func Wrap(method string, req, res proto.Message) Operation

func WrapWithResponse

func WrapWithResponse(method string, req proto.Message, resp Response) Operation

type Response

type Response = internal.Response

func Unwrap

func Unwrap(op Operation) (method string, req, res proto.Message, resp Response)

func WrapNoOpResponse

func WrapNoOpResponse(resp NoOpResponse) Response

func WrapOpResponse

func WrapOpResponse(resp OpResponse) Response

type StreamOperation

type StreamOperation = internal.StreamOperation

func WrapStreamOperation

func WrapStreamOperation(
	method string, req proto.Message,
	resp StreamOperationResponse,
	p func(error),
) StreamOperation

type StreamOperationResponse

type StreamOperationResponse = internal.StreamOperationResponse

func UnwrapStreamOperation

func UnwrapStreamOperation(op StreamOperation) (
	method string, req proto.Message,
	resp StreamOperationResponse,
	processor func(error),
)

Jump to

Keyboard shortcuts

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