wrap

package
v0.0.0-...-084e4ab Latest Latest
Warning

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

Go to latest
Published: Feb 22, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnwrapFully

func UnwrapFully(obj any) any

UnwrapFully repeatedly casts then unwraps obj until obj no longer implements Unwrapper.

Types

type ClientServerStream

type ClientServerStream struct {
	// contains filtered or unexported fields
}

ClientServerStream combines both a grpc.ServerStream and grpc.ClientStream

func NewClientServerStream

func NewClientServerStream(ctx context.Context) *ClientServerStream

func (*ClientServerStream) Client

func (s *ClientServerStream) Client() grpc.ClientStream

func (*ClientServerStream) Close

func (s *ClientServerStream) Close(err error)

func (*ClientServerStream) Server

func (s *ClientServerStream) Server() grpc.ServerStream

type Unwrapper

type Unwrapper interface {
	Unwrap() any
}

Unwrapper defines the Unwrap method for exposing underlying implementation types.

Jump to

Keyboard shortcuts

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