Versions in this module Expand all Collapse all v0 v0.0.1 Jul 24, 2026 Changes in this version + const ApplicationvndVeraisonCharesJson + const BearerAuthScopes + const JsonType + func GetSwagger() (swagger *openapi3.T, err error) + func Handler(si ServerInterface) http.Handler + func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler + func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler + func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler + func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error) + type BadRequestError struct + Detail *string + Instance *string + Status BadRequestErrorStatus + Title BadRequestErrorTitle + Type BadRequestErrorType + type BadRequestErrorStatus float32 + const N400 + type BadRequestErrorTitle string + const InvalidRequest + type BadRequestErrorType string + const TagGithubCom2024VeraisonratsdErrorInvalidrequest + type CMW struct + Typ CMWTyp + Val string + type CMWTyp string + const ApplicationvndVeraisonTsmReportCbor + const ApplicationvndVeraisonTsmReportJson + type ChaResRequest struct + AdditionalProperties map[string]map[string]string + AttesterSelection *[]string + Nonce string + func (a *ChaResRequest) Set(fieldName string, value map[string]string) + func (a *ChaResRequest) UnmarshalJSON(b []byte) error + func (a ChaResRequest) Get(fieldName string) (value map[string]string, found bool) + func (a ChaResRequest) MarshalJSON() ([]byte, error) + type ChaResRequestParametersAccept = string + type EAT struct + EatProfile EATEatProfile + NestedToken CMW + type EATEatProfile string + const TagGithubCom2024Veraisonratsd + 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 Option struct + DataType OptionDataType + Name string + type OptionDataType string + const Array + const Boolean + const Integer + const Number + const Object + const String + type RatsdCharesApplicationVndVeraisonCharesPlusJSONRequestBody = ChaResRequest + type RatsdCharesParams struct + Accept *ChaResRequestParametersAccept + 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 ServeMux interface + HandleFunc func(pattern string, handler func(http.ResponseWriter, *http.Request)) + ServeHTTP func(w http.ResponseWriter, r *http.Request) + type Server struct + func NewServer(logger *zap.SugaredLogger, manager plugin.IManager, options string) *Server + func (s *Server) RatsdChares(w http.ResponseWriter, r *http.Request, param RatsdCharesParams) + func (s *Server) RatsdSubattesters(w http.ResponseWriter, r *http.Request) + type ServerInterface interface + RatsdChares func(w http.ResponseWriter, r *http.Request, params RatsdCharesParams) + RatsdSubattesters 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) RatsdChares(w http.ResponseWriter, r *http.Request) + func (siw *ServerInterfaceWrapper) RatsdSubattesters(w http.ResponseWriter, r *http.Request) + type StdHTTPServerOptions struct + BaseRouter ServeMux + BaseURL string + ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error) + Middlewares []MiddlewareFunc + type SubAttester struct + Name string + Options *[]Option + type TooManyValuesForParamError struct + Count int + ParamName string + func (e *TooManyValuesForParamError) Error() string + type UnauthorizedError struct + Detail *string + Instance *string + Status UnauthorizedErrorStatus + Title UnauthorizedErrorTitle + Type UnauthorizedErrorType + type UnauthorizedErrorStatus float32 + const N401 + type UnauthorizedErrorTitle string + const AccessUnauthorized + type UnauthorizedErrorType string + const TagGithubCom2024VeraisonratsdErrorUnauthorized + type UnescapedCookieParamError struct + Err error + ParamName string + func (e *UnescapedCookieParamError) Error() string + func (e *UnescapedCookieParamError) Unwrap() error + type UnmarshalingParamError struct + Err error + ParamName string + func (e *UnmarshalingParamError) Error() string + func (e *UnmarshalingParamError) Unwrap() error