MCPcopy
hub / github.com/micro/go-micro / grpcStream

Struct grpcStream

client/grpc/stream.go:13–23  ·  view source on GitHub ↗

Implements the streamer interface.

Source from the content-addressed store, hash-verified

11
12// Implements the streamer interface.
13type grpcStream struct {
14 sync.RWMutex
15 closed bool
16 err error
17 stream grpc.ClientStream
18 request client.Request
19 response client.Response
20 context context.Context
21 cancel func()
22 release func(error)
23}
24
25func (g *grpcStream) Context() context.Context {
26 return g.context

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected