Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterSayHandler ¶
func RegisterSayHandler(s server.Server, hdlr SayHandler, opts ...server.HandlerOption) error
Types ¶
type SayHandler ¶
type SayService ¶
type SayService interface { Hello(ctx context.Context, in *model.SayParam, opts ...client.CallOption) (*model.SayResponse, error) MyName(ctx context.Context, in *model.SayParam, opts ...client.CallOption) (*model.SayParam, error) Stream(ctx context.Context, in *model.SRequest, opts ...client.CallOption) (Say_StreamService, error) BidirectionalStream(ctx context.Context, opts ...client.CallOption) (Say_BidirectionalStreamService, error) }
func NewSayService ¶
func NewSayService(name string, c client.Client) SayService
type Say_StreamService ¶
Click to show internal directories.
Click to hide internal directories.