Versions in this module Expand all Collapse all v1 v1.0.0 Mar 24, 2023 Changes in this version + func NewClientContext(ctx context.Context, info ClientInfo) context.Context + func NewServerContext(ctx context.Context, info ServerInfo) context.Context + type CallOption func(o *options) + type Client interface + Close func() error + Use func(selector string, mws ...middleware.Middleware) + type ClientInfo struct + Op *xrpc.Operation + Target string + Type string + func FromClientContext(ctx context.Context) (info ClientInfo, ok bool) + type ErrorConverter interface + FromRPCError func(err error) error + ToRPCError func(err error) error + type Server interface + GracefulStop func() + Healthz func(ctx context.Context) bool + Offline func(ctx context.Context) error + Online func(ctx context.Context) error + Start func() error + Stop func() + Use func(selector string, mws ...middleware.Middleware) + type ServerInfo struct + Op *xrpc.Operation + Peer *xrpc.Peer + Type string + func FromServerContext(ctx context.Context) (info ServerInfo, ok bool)