Documentation
¶
Overview ¶
Package database handles session storage and retrieval using CSV files.
Index ¶
- func Add(databasePath string, sessionData [][]string) error
- func B64SessionToArray(base64Session structure.B64Session) []string
- func EnumerateSessions(sessionList [][]string) []string
- func GetPath() (string, error)
- func Init(databasePath string) error
- func Read(databasePath string) ([][]string, error)
- func Write(databasePath string, sessionData [][]string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func B64SessionToArray ¶
func B64SessionToArray(base64Session structure.B64Session) []string
B64SessionToArray converts a B64Session to a string array for database storage.
func EnumerateSessions ¶
EnumerateSessions lists all sessions and returns their IDs.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.