Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
type Auth struct {
// contains filtered or unexported fields
}
Auth healthcheck
func (*Auth) Inject ¶
func (s *Auth) Inject(authManager *application.AuthManager)
Inject auth manager dependency
type FileSession ¶
type FileSession struct {
// contains filtered or unexported fields
}
FileSession session backend health check
func (*FileSession) Inject ¶
func (s *FileSession) Inject(cfg *struct { FileName string `inject:"config:session.file"` })
Inject configuration for session backend
func (*FileSession) Status ¶
func (s *FileSession) Status() (bool, string)
Status checks if the session file is available
type RedisSession ¶
type RedisSession struct {
// contains filtered or unexported fields
}
RedisSession pool status check
func (*RedisSession) Inject ¶
func (s *RedisSession) Inject(pool *redis.Pool)
Inject redis pool for session
func (*RedisSession) Status ¶
func (s *RedisSession) Status() (bool, string)
Status checks if the redis server is available
Click to show internal directories.
Click to hide internal directories.