util

package
v0.0.0-...-7eb2ef7 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindReplace

func FindReplace(repl *caddy.Replacer, s string) string

FindReplace uses caddy.Replacer to replace strings in a given string.

func FindReplaceAll

func FindReplaceAll(repl *caddy.Replacer, arr []string) (output []string)

FindReplaceAll uses caddy.Replacer to replace strings in a given slice.

func GetRequestID

func GetRequestID(r *http.Request) string

GetRequestID returns HTTP request id.

Types

This section is empty.

Jump to

Keyboard shortcuts

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