Versions in this module Expand all Collapse all v1 v1.0.0 Nov 19, 2026 Changes in this version + type Client struct + func NewClient(httpClient HTTPClient, baseURL string) *Client + func (c *Client) Call(ctx context.Context, procedure string, req, res proto.Message) error + type Code string + const CodeAborted + const CodeAlreadyExists + const CodeCanceled + const CodeDataLoss + const CodeDeadlineExceeded + const CodeFailedPrecondition + const CodeInternal + const CodeInvalidArgument + const CodeNotFound + const CodeOutOfRange + const CodePermissionDenied + const CodeResourceExhausted + const CodeUnauthenticated + const CodeUnavailable + const CodeUnimplemented + const CodeUnknown + func CodeOf(err error) Code + type Error struct + func NewError(code Code, err error) *Error + func (e *Error) Code() Code + func (e *Error) Error() string + func (e *Error) Message() string + func (e *Error) Unwrap() error + type HTTPClient interface + Do func(*http.Request) (*http.Response, error)