healthcheck

package
v3.8.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 26, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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:flamingo.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 status check

func (*RedisSession) Inject

func (s *RedisSession) Inject(client redis.UniversalClient)

Inject redis client for session

func (*RedisSession) Status

func (s *RedisSession) Status() (bool, string)

Status checks if the redis server is available

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL