package
0.26.4
Repository: https://github.com/go-vela/server.git
Documentation: pkg.go.dev

# Functions

CheckAllowlist is a helper function to ensure only repos in the allowlist are specified.
Compress is a helper function to compress values.
Decompress is a helper function to decompress values.
Decrypt is a helper function to Decrypt values.
Encrypt is a helper function to Encrypt values.
EscapeValue safely escapes any string by removing any new lines and HTML escaping it.
FormParameter safely captures a form parameter from the context by removing any new lines and HTML escaping the value.
HandleError appends the error to the handler chain for logging and outputs it.
PathParameter safely captures a path parameter from the context by removing any new lines and HTML escaping the value.
QueryParameter safely captures a query parameter from the context by removing any new lines and HTML escaping the value.
Sanitize is a helper function to verify the provided input field does not contain HTML content.
SplitFullName safely splits the repo.FullName field into an org and name.
Unique is a helper function that takes a slice and validates that there are no duplicate entries.