server

package
v0.9.29 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 22, 2026 License: Apache-2.0 Imports: 9 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ERROR_INVALID_JSON_CONTENT = `` /* 378-byte string literal not displayed */
View Source
var ERROR_INVALID_JSON_CONTENT2 = `` /* 378-byte string literal not displayed */
View Source
var ERROR_INVALID_JSON_CONTENT3 = `not_a_json`
View Source
var ERROR_INVALID_JSON_CONTENT_MARSHALLINGVALIDATEDRESPONSE = `` /* 378-byte string literal not displayed */
View Source
var ERROR_INVALID_JSON_CONTENT_WRONG_TYPE = `` /* 1628-byte string literal not displayed */
View Source
var OK_VALID_JSON_CONTENT = `` /* 389-byte string literal not displayed */
View Source
var OK_VALID_YAML_CONTENT = `` /* 1628-byte string literal not displayed */

Functions

func CreateRouter

func CreateRouter(
	isLocal bool,
	log *logger.Logger,
	validator validation.ExtensionConfiguration,
) *chi.Mux

Types

type HttpValidateHandler

type HttpValidateHandler struct {
	// contains filtered or unexported fields
}

func NewHttpValidateHandler

func NewHttpValidateHandler(log *logger.Logger, validator validation.ExtensionConfiguration) *HttpValidateHandler

func (*HttpValidateHandler) HandlerHealthz

func (h *HttpValidateHandler) HandlerHealthz(w http.ResponseWriter, _ *http.Request)

func (*HttpValidateHandler) HandlerValidate

func (h *HttpValidateHandler) HandlerValidate(w http.ResponseWriter, r *http.Request)

type Response

type Response struct {
	ParsedConfiguration string            `json:"parsedConfiguration,omitempty"`
	ValidationErrors    []validationError `json:"validationErrors,omitempty"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL