types

package
v0.0.0-...-5d951de Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrSourceInvalid = errors.New("source is empty")
	ErrTargetInvalid = errors.New("target is empty")
)

Functions

This section is empty.

Types

type ProxyRedirect

type ProxyRedirect struct {
	Source string `json:"source" validate:"required"`
	Target string `json:"target" validate:"required"`
}

type ProxyRedirects

type ProxyRedirects map[uuid.UUID]ProxyRedirect

Jump to

Keyboard shortcuts

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