package
0.0.0-20241119191632-c265b2b47f95
Repository: https://github.com/jclem/get.git
Documentation: pkg.go.dev

# Functions

IsWritableHeader returns whether or not a header is writable.
NewSession returns a new empty session.
ReadConfig returns the configuration file.
ReadSession reads a session from the configuration file for the given request.
SessionsPath returns the path to the sessions configuration file.
WriteConfig writes the configuration file.
WriteSession writes a session to the configuration file for the given request.

# Variables

ErrNoSession is returned when a session does not exist for a given host.

# Structs

A Config represents the overall configuration file that stores all sessions.
A Session represents a single session configuration.
WriteSessionOpts are options for writing a session.