Documentation
¶
Index ¶
- Constants
- type ProcessingIdentityInterceptor
- func (i *ProcessingIdentityInterceptor) WrapStreamingClient(next connect.StreamingClientFunc) connect.StreamingClientFunc
- func (i *ProcessingIdentityInterceptor) WrapStreamingHandler(next connect.StreamingHandlerFunc) connect.StreamingHandlerFunc
- func (i *ProcessingIdentityInterceptor) WrapUnary(next connect.UnaryFunc) connect.UnaryFunc
- type SignInterceptor
Constants ¶
View Source
const (
ClientIDHeaderName = "X-Client-ID"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProcessingIdentityInterceptor ¶
type ProcessingIdentityInterceptor struct { ID string // contains filtered or unexported fields }
func NewProcessingIdentity ¶
func NewProcessingIdentity( processingID, version string, ) *ProcessingIdentityInterceptor
func (*ProcessingIdentityInterceptor) WrapStreamingClient ¶
func (i *ProcessingIdentityInterceptor) WrapStreamingClient(next connect.StreamingClientFunc) connect.StreamingClientFunc
WrapStreamingClient wraps the streaming server function
func (*ProcessingIdentityInterceptor) WrapStreamingHandler ¶
func (i *ProcessingIdentityInterceptor) WrapStreamingHandler(next connect.StreamingHandlerFunc) connect.StreamingHandlerFunc
WrapStreamingHandler wraps the streaming server function
type SignInterceptor ¶
type SignInterceptor struct {
// contains filtered or unexported fields
}
func NewSignInterceptor ¶
func NewSignInterceptor( clientService *clients.Service, disableCheckingSign bool, ) *SignInterceptor
func (*SignInterceptor) WrapStreamingClient ¶
func (*SignInterceptor) WrapStreamingClient(next connect.StreamingClientFunc) connect.StreamingClientFunc
WrapStreamingServer wraps the streaming server function
func (*SignInterceptor) WrapStreamingHandler ¶
func (i *SignInterceptor) WrapStreamingHandler(_ connect.StreamingHandlerFunc) connect.StreamingHandlerFunc
WrapStreamingServer wraps the streaming server function
Click to show internal directories.
Click to hide internal directories.