wrap

package
v0.0.0-...-3a0ac50 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2022 License: AGPL-3.0 Imports: 6 Imported by: 10

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func UnwrapFully

func UnwrapFully(obj interface{}) interface{}

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() interface{}
}

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