func NewCheck()

in internal/healthcheck/healthcheck.go [41:50]


func NewCheck(p *proxy.Client, l alloydb.Logger) *Check {
	return &Check{
		startedOnce: &sync.Once{},
		started:     make(chan struct{}),
		stoppedOnce: &sync.Once{},
		stopped:     make(chan struct{}),
		proxy:       p,
		logger:      l,
	}
}