func NewCheck()

in internal/healthcheck/healthcheck.go [40:49]


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