Documentation ¶
Index ¶
- type ContextHeaderInterceptor
- func (chi ContextHeaderInterceptor) WrapStreamingClient(next connect.StreamingClientFunc) connect.StreamingClientFunc
- func (chi ContextHeaderInterceptor) WrapStreamingHandler(next connect.StreamingHandlerFunc) connect.StreamingHandlerFunc
- func (chi ContextHeaderInterceptor) WrapUnary(next connect.UnaryFunc) connect.UnaryFunc
- type ContextSpecInterceptor
- func (csi ContextSpecInterceptor) WrapStreamingClient(next connect.StreamingClientFunc) connect.StreamingClientFunc
- func (csi ContextSpecInterceptor) WrapStreamingHandler(next connect.StreamingHandlerFunc) connect.StreamingHandlerFunc
- func (csi ContextSpecInterceptor) WrapUnary(next connect.UnaryFunc) connect.UnaryFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContextHeaderInterceptor ¶
type ContextHeaderInterceptor func(ctx context.Context, header http.Header) (context.Context, error)
ContextHeaderInterceptor is a server interceptor that fails all call with the error it returns.
func (ContextHeaderInterceptor) WrapStreamingClient ¶
func (chi ContextHeaderInterceptor) WrapStreamingClient(next connect.StreamingClientFunc) connect.StreamingClientFunc
func (ContextHeaderInterceptor) WrapStreamingHandler ¶
func (chi ContextHeaderInterceptor) WrapStreamingHandler(next connect.StreamingHandlerFunc) connect.StreamingHandlerFunc
func (ContextHeaderInterceptor) WrapUnary ¶
func (chi ContextHeaderInterceptor) WrapUnary(next connect.UnaryFunc) connect.UnaryFunc
type ContextSpecInterceptor ¶
ContextSpecInterceptor is a server interceptor that fails all call with the error it returns.
func (ContextSpecInterceptor) WrapStreamingClient ¶
func (csi ContextSpecInterceptor) WrapStreamingClient(next connect.StreamingClientFunc) connect.StreamingClientFunc
func (ContextSpecInterceptor) WrapStreamingHandler ¶
func (csi ContextSpecInterceptor) WrapStreamingHandler(next connect.StreamingHandlerFunc) connect.StreamingHandlerFunc
func (ContextSpecInterceptor) WrapUnary ¶
func (csi ContextSpecInterceptor) WrapUnary(next connect.UnaryFunc) connect.UnaryFunc
Click to show internal directories.
Click to hide internal directories.