Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Shutdown ¶
type Shutdown struct {
// contains filtered or unexported fields
}
Shutdown GORM plugin
func NewDefaultShutdownPlugin ¶
func NewDefaultShutdownPlugin(stopChannel chan struct{}) *Shutdown
NewDefaultShutdownPlugin initialize GORM plugin
func NewShutdownPlugin ¶
func NewShutdownPlugin(stopChannel chan struct{}, badConnChecker func(errors []error) bool) *Shutdown
NewShutdownPlugin initialize GORM plugin
Click to show internal directories.
Click to hide internal directories.