Documentation
¶
Overview ¶
Package handler provdes a test handler.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EchoHandler ¶
type EchoHandler struct { }
EchoHandler is a test handler.
func (*EchoHandler) AuthorizedCall ¶
func (c *EchoHandler) AuthorizedCall(ctx context.Context, _ *proto.CallRequest) (*proto.CallResponse, error)
AuthorizedCall requires Authorization by metadata.
func (*EchoHandler) Call ¶
func (c *EchoHandler) Call(_ context.Context, request *proto.CallRequest) (*proto.CallResponse, error)
Call implements the call method.
Click to show internal directories.
Click to hide internal directories.