Documentation ¶
Overview ¶
Package stream is a generated protocol buffer package.
It is generated from these files:
github.com/ship-os/ship-micro/examples/stream/server/proto/stream.proto
It has these top-level messages:
Request Response
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterStreamerHandler ¶
func RegisterStreamerHandler(s server.Server, hdlr StreamerHandler, opts ...server.HandlerOption)
Types ¶
type StreamerHandler ¶
type StreamerHandler interface { Stream(context.Context, Streamer_StreamStream) error ServerStream(context.Context, *Request, Streamer_ServerStreamStream) error }
type StreamerService ¶
type StreamerService interface { Stream(ctx context.Context, opts ...client.CallOption) (Streamer_StreamService, error) ServerStream(ctx context.Context, in *Request, opts ...client.CallOption) (Streamer_ServerStreamService, error) }
func NewStreamerService ¶
func NewStreamerService(serviceName string, c client.Client) StreamerService
type Streamer_StreamService ¶
Click to show internal directories.
Click to hide internal directories.