auth

package
v0.0.0-...-23631de Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var MapSessions map[string]EntSession = make(map[string]EntSession)
View Source
var MuSessions sync.RWMutex

Functions

func Backend

func Backend(sKey string) bool

func RemoveSession

func RemoveSession(sSessID string) bool

func RestoreSessions

func RestoreSessions() bool

func WatchAuthExpire

func WatchAuthExpire()

func Watchers

func Watchers()

Types

type EntSession

type EntSession struct {
	SteamID64 string
	Since     int64 //unix timestamp in milliseconds
}

func GetSession

func GetSession(sSessID string, sCSRF string) (EntSession, bool)

func GetSessionNoCSRF

func GetSessionNoCSRF(sSessID string) (EntSession, bool)

Jump to

Keyboard shortcuts

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