session

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2023 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Cleaner

type Cleaner struct {
}

func NewCleaner

func NewCleaner() *Cleaner

func (*Cleaner) Cleanup

func (c *Cleaner) Cleanup() error

func (*Cleaner) CleanupInfinity

func (c *Cleaner) CleanupInfinity(ctx context.Context)

type Config

type Config struct {
	SavePath      string
	SaveHandler   string
	GcMaxLifetime time.Duration
}

func NewConfig

func NewConfig(phpVersion, confDir string) (*Config, error)

func (*Config) IfSaveHandlerFilesAndPathNonEmpty

func (c *Config) IfSaveHandlerFilesAndPathNonEmpty() bool

Jump to

Keyboard shortcuts

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