Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewIngestEventsHandler ¶
func NewIngestEventsHandler( op operation.Operation[ingest.IngestEventsRequest, bool], namespaceDecoder NamespaceDecoder, commonErrorEncoder httptransport.ErrorEncoder, errorHandler httptransport.ErrorHandler, ) http.Handler
NewIngestEventsHandler returns a new HTTP handler that wraps the given operation.Operation.
Types ¶
type ErrorInvalidContentType ¶
type ErrorInvalidContentType struct {
ContentType string
}
func (ErrorInvalidContentType) Details ¶
func (e ErrorInvalidContentType) Details() map[string]any
func (ErrorInvalidContentType) Error ¶
func (e ErrorInvalidContentType) Error() string
func (ErrorInvalidContentType) Message ¶
func (e ErrorInvalidContentType) Message() string
type ErrorInvalidEvent ¶
type ErrorInvalidEvent struct {
Err error
}
func (ErrorInvalidEvent) Error ¶
func (e ErrorInvalidEvent) Error() string
func (ErrorInvalidEvent) Message ¶
func (e ErrorInvalidEvent) Message() string
type NamespaceDecoder ¶
NamespaceDecoder gets the namespace from the request.
type StaticNamespaceDecoder ¶
type StaticNamespaceDecoder string
func (StaticNamespaceDecoder) GetNamespace ¶
func (d StaticNamespaceDecoder) GetNamespace(ctx context.Context) (string, bool)
Click to show internal directories.
Click to hide internal directories.