analytics

package
v1.2.41 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CookieSession

type CookieSession struct {
	sessions.Session
	// contains filtered or unexported fields
}

func GetCookieSession

func GetCookieSession(c *gin.Context, now time.Time, ttl int) *CookieSession

func (*CookieSession) AppendToCookie

func (c *CookieSession) AppendToCookie(cookieName, item string) bool

func (*CookieSession) Save

func (c *CookieSession) Save() error

Jump to

Keyboard shortcuts

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