cookies

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CookieLifetime int

CookieLifetime is the lifetime of a cookie

Functions

func Init added in v0.5.0

func Init()

Init initializes cookie values

func MytokenCookie

func MytokenCookie(mytoken string) *fiber.Cookie

MytokenCookie creates a fiber.Cookie for the passed mytoken

func TransferCodeCookie

func TransferCodeCookie(transferCode string, expiresIn int) *fiber.Cookie

TransferCodeCookie creates a fiber.Cookie for the passed transfer code

Types

This section is empty.

Jump to

Keyboard shortcuts

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