healthcheck

package
v2.3.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2018 License: OSL-3.0 Imports: 5 Imported by: 0

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
}

func (*Auth) Inject

func (s *Auth) Inject(authManager *application.AuthManager)

func (*Auth) Status

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

type FileSession

type FileSession struct {
	// contains filtered or unexported fields
}

func (*FileSession) Inject

func (s *FileSession) Inject(cfg *struct {
	FileName string `inject:"config:session.file"`
})

func (*FileSession) Status

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

type Nil

type Nil struct{}

func (*Nil) Status

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

type RedisSession

type RedisSession struct {
	// contains filtered or unexported fields
}

func (*RedisSession) Inject

func (s *RedisSession) Inject(pool *redis.Pool)

func (*RedisSession) Status

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

type Status

type Status interface {
	Status() (alive bool, details string)
}

Jump to

Keyboard shortcuts

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