MCPcopy
hub / github.com/nextdns/nextdns / Restart

Method Restart

run.go:114–118  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

112}
113
114func (p *proxySvc) Restart() error {
115 p.log.Infof("Restarting NextDNS %s/%s on %s", version, platform, strings.Join(p.Addrs, ", "))
116 _ = p.stop()
117 return p.start()
118}
119
120func (p *proxySvc) Stop() error {
121 p.log.Infof("Stopping NextDNS %s/%s", version, platform)

Callers

nothing calls this directly

Calls 3

stopMethod · 0.95
startMethod · 0.95
InfofMethod · 0.65

Tested by

no test coverage detected