Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticatedUserInfo ¶
type SessionManager ¶
type SessionManager interface { Authenticate(sid string) (userID string, err error) Login(w http.ResponseWriter, r *http.Request, userID string) error Logout(w http.ResponseWriter, r *http.Request) error }
func NewSessionManager ¶
func NewSessionManager(appConfig *config.AppConfig, redisClient *redis.Client) (SessionManager, error)
Click to show internal directories.
Click to hide internal directories.