package
0.0.0-20181006035023-6907ca925200
Repository: https://github.com/nivl/go-rest-tools.git
Documentation: pkg.go.dev
# Functions
NewAdmin returns a non-persisted admin user with "fake" as password.
NewAdminAuth creates a new non-persisted admin and their session.
NewAuth creates a non-persisted user and their session.
NewPersistedAdminAuth creates a new admin and their session.
NewPersistedAuth creates a persisted new user and their session.
NewPersistedSession creates and persists a new session for the given user.
NewPersistedUser creates and persists a new user with "fake" as password.
NewSession creates a non-persisted session for the given user.
NewUser returns a non-persisted user with "fake" as password.