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( appConfig config.ServerConfig, 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)
 Click to show internal directories. 
   Click to hide internal directories.