util

package
v2.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientInfo

func ClientInfo(userAgent string, remoteAddress string) *common.ClientInfo

ClientInfo returns client info based on provided user agent and remote address

func Ptr

func Ptr[T any](v T) *T

Ptr returns a pointer to provided value

func RequestID

func RequestID(requestID string) *common.RequestID

RequestID creates an optional 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