utils

package
v0.0.14 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	SESSION_PREFIX     = "sux"
	SESSION_LENGTH_KEY = 20
)

Variables

This section is empty.

Functions

func GetIP

func GetIP(r *http.Request) (string, error)

func RandomGenerator

func RandomGenerator(length int, prefix string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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