nurse/protocols/sql/checks.go

18 lines
282 B
Go
Raw Permalink Normal View History

package sql
2022-09-22 09:46:36 +00:00
import "code.icb4dc0.de/prskr/nurse/check"
func Module() *check.Module {
m, err := check.NewModule(
"sql",
check.WithCheck("select", check.FactoryFunc(func() check.SystemChecker {
return new(SelectCheck)
})),
)
if err != nil {
panic(err)
}
return m
}