Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BidiReadStream ¶ added in v2.1.0
type BidiReadStream[T ReadResponse] interface { Receive() (T, error) }
type BidiReader ¶ added in v2.1.0
type BidiReader[T ReadResponse] struct { // contains filtered or unexported fields }
func NewBidiReader ¶ added in v2.1.0
func NewBidiReader[T ReadResponse](stream BidiReadStream[T]) *BidiReader[T]
type ReadResponse ¶
type ReadResponse interface {
GetBody() []byte
}
type ReadStream ¶
type ReadStream[T ReadResponse] interface { Receive() bool Msg() T }
type Reader ¶
type Reader[T ReadResponse] struct { // contains filtered or unexported fields }
func NewReader ¶
func NewReader[T ReadResponse](stream ReadStream[T]) *Reader[T]
type WriteStream ¶
Click to show internal directories.
Click to hide internal directories.