apiv1

package
Version: v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2020 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(w http.ResponseWriter, r *http.Request)

Validate returns a YML or JSON object validated and upgraded to latest PublicCode version specs. It accepts both format as input YML|JSON

func ValidateParam

func ValidateParam(w http.ResponseWriter, r *http.Request)

ValidateParam will take a query parameter to enable or disable network layer on parsing process and then call normal validation

func ValidateRemoteURL

func ValidateRemoteURL(w http.ResponseWriter, r *http.Request)

ValidateRemoteURL validate remote URL

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL