cookie

package
v1.23.8 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AccessTokenName = "at"
View Source
var HttpsCookie = false
View Source
var RefreshTokenName = "rt"

Functions

func GetAuth

func GetAuth(ctx server.Context) string

func GetRefreshAuth

func GetRefreshAuth(ctx server.Context) string

func RemoveAuth

func RemoveAuth(ctx server.Context)

func Save

func Save(ctx server.Context, name string, value string, ttlHour int, domain string)

func SaveAuth

func SaveAuth(ctx server.Context, token string, ttlHour int, domain string)

func SaveRefreshAuth

func SaveRefreshAuth(ctx server.Context, token string, ttlHour int, domain string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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