Documentation
¶
Index ¶
- type LanguageInterceptor
- func (l *LanguageInterceptor) WrapStreamingClient(next connect.StreamingClientFunc) connect.StreamingClientFunc
- func (l *LanguageInterceptor) WrapStreamingHandler(next connect.StreamingHandlerFunc) connect.StreamingHandlerFunc
- func (l *LanguageInterceptor) WrapUnary(next connect.UnaryFunc) connect.UnaryFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LanguageInterceptor ¶
type LanguageInterceptor struct {
}
LanguageInterceptor implements connect.Interceptor for ensuring language is available in the context.
func NewLanguageInterceptor ¶
func NewLanguageInterceptor() (*LanguageInterceptor, error)
NewLanguageInterceptor creates a new validation interceptor with default options.
func (*LanguageInterceptor) WrapStreamingClient ¶
func (l *LanguageInterceptor) WrapStreamingClient(next connect.StreamingClientFunc) connect.StreamingClientFunc
WrapStreamingClient validates streaming client messages (pass-through for server-side).
func (*LanguageInterceptor) WrapStreamingHandler ¶
func (l *LanguageInterceptor) WrapStreamingHandler(next connect.StreamingHandlerFunc) connect.StreamingHandlerFunc
WrapStreamingHandler validates streaming messages.
Click to show internal directories.
Click to hide internal directories.