util

package
v0.0.0-...-d552a0f Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorHandler

func ErrorHandler(f func(w http.ResponseWriter, r *http.Request) (render.Renderer, int)) http.HandlerFunc

func ValidUUID

func ValidUUID(id string) bool

Types

type ErrorDesc

type ErrorDesc struct {
	Description string `json:"description"`
}

func (ErrorDesc) Render

func (e ErrorDesc) Render(w http.ResponseWriter, r *http.Request) error

type UUIDString

type UUIDString string

Jump to

Keyboard shortcuts

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