common

package
v0.0.0-...-0d2a658 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package common contains common utilities that are shared among other packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SafeCompileRegex

func SafeCompileRegex(pattern string) (*regexp.Regexp, error)

SafeCompileRegex compiles a regex pattern with safety checks against catastrophic backtracking (ReDoS). It validates the parsed syntax tree depth and rejects overly long patterns.

Types

This section is empty.

Directories

Path Synopsis
Package limiter is to control the links that go into the dispatcher
Package limiter is to control the links that go into the dispatcher
Package rule is to control the audit rule behaviors
Package rule is to control the audit rule behaviors
Package serverstatus generate the server system status
Package serverstatus generate the server system status

Jump to

Keyboard shortcuts

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