Documentation ¶
Index ¶
- func CheckCompilerVersion(path string) error
- func WithClientLogger(logger logger.Logger) psrpc.ClientOption
- func WithServerLogger(logger logger.Logger) psrpc.ServerOption
- func WithSuppressClientErrors(errs ...error) psrpc.ClientOption
- func WithSuppressServerErrors(errs ...error) psrpc.ServerOption
- type UnimplementedMetricsObserver
- func (o UnimplementedMetricsObserver) OnMultiRequest(role middleware.MetricRole, rpcInfo psrpc.RPCInfo, duration time.Duration, ...)
- func (o UnimplementedMetricsObserver) OnStreamClose(role middleware.MetricRole, rpcInfo psrpc.RPCInfo)
- func (o UnimplementedMetricsObserver) OnStreamOpen(role middleware.MetricRole, rpcInfo psrpc.RPCInfo)
- func (o UnimplementedMetricsObserver) OnStreamRecv(role middleware.MetricRole, rpcInfo psrpc.RPCInfo, err error)
- func (o UnimplementedMetricsObserver) OnStreamSend(role middleware.MetricRole, rpcInfo psrpc.RPCInfo, duration time.Duration, ...)
- func (o UnimplementedMetricsObserver) OnUnaryRequest(role middleware.MetricRole, rpcInfo psrpc.RPCInfo, duration time.Duration, ...)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckCompilerVersion ¶ added in v1.8.0
func WithClientLogger ¶
func WithClientLogger(logger logger.Logger) psrpc.ClientOption
func WithServerLogger ¶
func WithServerLogger(logger logger.Logger) psrpc.ServerOption
func WithSuppressClientErrors ¶ added in v1.8.1
func WithSuppressClientErrors(errs ...error) psrpc.ClientOption
func WithSuppressServerErrors ¶ added in v1.8.1
func WithSuppressServerErrors(errs ...error) psrpc.ServerOption
Types ¶
type UnimplementedMetricsObserver ¶ added in v1.8.0
type UnimplementedMetricsObserver struct{}
func (UnimplementedMetricsObserver) OnMultiRequest ¶ added in v1.8.0
func (o UnimplementedMetricsObserver) OnMultiRequest(role middleware.MetricRole, rpcInfo psrpc.RPCInfo, duration time.Duration, responseCount int, errorCount int)
func (UnimplementedMetricsObserver) OnStreamClose ¶ added in v1.8.0
func (o UnimplementedMetricsObserver) OnStreamClose(role middleware.MetricRole, rpcInfo psrpc.RPCInfo)
func (UnimplementedMetricsObserver) OnStreamOpen ¶ added in v1.8.0
func (o UnimplementedMetricsObserver) OnStreamOpen(role middleware.MetricRole, rpcInfo psrpc.RPCInfo)
func (UnimplementedMetricsObserver) OnStreamRecv ¶ added in v1.8.0
func (o UnimplementedMetricsObserver) OnStreamRecv(role middleware.MetricRole, rpcInfo psrpc.RPCInfo, err error)
func (UnimplementedMetricsObserver) OnStreamSend ¶ added in v1.8.0
func (o UnimplementedMetricsObserver) OnStreamSend(role middleware.MetricRole, rpcInfo psrpc.RPCInfo, duration time.Duration, err error)
func (UnimplementedMetricsObserver) OnUnaryRequest ¶ added in v1.8.0
func (o UnimplementedMetricsObserver) OnUnaryRequest(role middleware.MetricRole, rpcInfo psrpc.RPCInfo, duration time.Duration, err error)
Click to show internal directories.
Click to hide internal directories.