session

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Captures

func Captures(all []*capture.Capture, e Entry) []*capture.Capture

func FilePath

func FilePath() string

func Load

func Load() (map[string]Entry, error)

func RequestPath

func RequestPath(c *capture.Capture) string

func ResponseStatus

func ResponseStatus(c *capture.Capture) int

func Save

func Save(m map[string]Entry) error

func SortedNames

func SortedNames(sessions map[string]Entry) []string

Types

type Entry

type Entry struct {
	Start time.Time `json:"start"`
	End   time.Time `json:"end,omitempty"`
}

Jump to

Keyboard shortcuts

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