Documentation ¶
Index ¶
- type Client
- type Server
- func (srv *Server) ErrorWithCode(ctx context.Context, req *testpb.ErrorWithCodeRequest) (*testpb.Empty, error)
- func (srv *Server) StreamThenError(req *testpb.StreamRequest, ss testpb.Test_StreamThenErrorServer) error
- func (srv *Server) WrapErrorWithCode(ctx context.Context, req *testpb.WrapErrorWithCodeRequest) (*testpb.Empty, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) ClientPB ¶
func (cl *Client) ClientPB() testpb.TestClient
func (*Client) ErrorWithCode ¶
func (*Client) StreamThenError ¶
type Server ¶
type Server struct{}
func (*Server) ErrorWithCode ¶
func (*Server) StreamThenError ¶
func (srv *Server) StreamThenError(req *testpb.StreamRequest, ss testpb.Test_StreamThenErrorServer) error
func (*Server) WrapErrorWithCode ¶
Click to show internal directories.
Click to hide internal directories.