package
1.9.1
Repository: https://github.com/forceu/gokapi.git
Documentation: pkg.go.dev

# Functions

CreateSession creates a new session - called after login with correct username / password If sessions parameter is nil, it will be loaded from config.
IsValidSession checks if the user is submitting a valid session token If valid session is found, useSession will be called Returns true if authenticated, otherwise false.
LogoutSession logs out user and deletes session.