Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Interceptor ¶
type Interceptor struct {
// contains filtered or unexported fields
}
func NewInterceptor ¶
func NewInterceptor(reg prometheus.Registerer) *Interceptor
NewInterceptor creates a new connect interceptor that registers metrics with the passed prometheus.Registerer.
func (*Interceptor) WrapStreamingClient ¶
func (i *Interceptor) WrapStreamingClient(handle connect.StreamingClientFunc) connect.StreamingClientFunc
func (*Interceptor) WrapStreamingHandler ¶
func (i *Interceptor) WrapStreamingHandler(handle connect.StreamingHandlerFunc) connect.StreamingHandlerFunc
func (*Interceptor) WrapUnary ¶
func (i *Interceptor) WrapUnary(next connect.UnaryFunc) connect.UnaryFunc
Click to show internal directories.
Click to hide internal directories.