auth

package
v0.0.1-alpha.1 Latest Latest
Warning

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

Go to latest
Published: Apr 7, 2023 License: GPL-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	UserIPCIDR        *net.IPNet
	ServerCIDR        []string
	FirstProxyAddress string
	SchedulerAddress  string
)

Functions

func Execute

func Execute() error

func RandomIP

func RandomIP(cidr *net.IPNet) net.IP

Generate random IP address in CIDR notation

func RandomString

func RandomString(length int) string

Generate random alpha-numeric string

func UniqueRandomIP

func UniqueRandomIP(app *pocketbase.PocketBase, cidr *net.IPNet) (net.IP, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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