validate

package
v0.32.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package validate provides shared validation functions.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SessionID

func SessionID(id string) error

SessionID validates a session ID follows the expected format: - Non-empty - Lowercase alphanumeric only (a-z, 0-9) - No spaces or special characters

func SessionName

func SessionName(name string) error

SessionName validates a session name is non-empty after trimming whitespace.

Types

This section is empty.

Jump to

Keyboard shortcuts

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