Versions in this module Expand all Collapse all v0 v0.1.14 Jul 12, 2026 v0.1.13 Jul 10, 2026 Changes in this version + func Handler(si ServerInterface) http.Handler + func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler + func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler + func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler + type ChiServerOptions struct + BaseRouter chi.Router + BaseURL string + ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) + Middlewares []MiddlewareFunc + type EmptyResponse = map[string]interface + type ErrorResponse struct + Error string + ReqID *string + type IngestJSONRequestBody = IngestRequest + type IngestRequest = map[string]interface + type InvalidParamFormatError struct + Err error + ParamName string + func (e *InvalidParamFormatError) Error() string + func (e *InvalidParamFormatError) Unwrap() error + type MiddlewareFunc func(http.Handler) http.Handler + type RequiredHeaderError struct + Err error + ParamName string + func (e *RequiredHeaderError) Error() string + func (e *RequiredHeaderError) Unwrap() error + type RequiredParamError struct + ParamName string + func (e *RequiredParamError) Error() string + type ServerInterface interface + Ingest func(w http.ResponseWriter, r *http.Request, sourceSlug string) + Metrics func(w http.ResponseWriter, r *http.Request) + Transform func(w http.ResponseWriter, r *http.Request) + type ServerInterfaceWrapper struct + ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) + Handler ServerInterface + HandlerMiddlewares []MiddlewareFunc + func (siw *ServerInterfaceWrapper) Ingest(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) Metrics(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) Transform(w http.ResponseWriter, r *http.Request) + type TooManyValuesForParamError struct + Count int + ParamName string + func (e *TooManyValuesForParamError) Error() string + type TransformDefinition struct + Id *string + Script *string + ScriptPath *string + Type TransformDefinitionType + type TransformDefinitionType string + const Javascript + func (e TransformDefinitionType) Valid() bool + type TransformJSONRequestBody = TransformRequest + type TransformRequest struct + Body string + Headers *map[string][]string + TransformDefinition TransformDefinition + type TransformResponse struct + Body *string + Headers *map[string][]string + type UnescapedCookieParamError struct + Err error + ParamName string + func (e *UnescapedCookieParamError) Error() string + func (e *UnescapedCookieParamError) Unwrap() error + type Unimplemented struct + func (_ Unimplemented) Ingest(w http.ResponseWriter, r *http.Request, sourceSlug string) + func (_ Unimplemented) Metrics(w http.ResponseWriter, r *http.Request) + func (_ Unimplemented) Transform(w http.ResponseWriter, r *http.Request) + type UnmarshalingParamError struct + Err error + ParamName string + func (e *UnmarshalingParamError) Error() string + func (e *UnmarshalingParamError) Unwrap() error