diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-11-23 17:20:16 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2019-11-23 17:20:16 +0300 |
commit | 08fb0bfc792db7c1b006ea066904d19a3456f99f (patch) | |
tree | a924a0a4efad12d2517a87c49468ed903a70f170 /app.go | |
parent | eb17ac651ffe0a8c4f01c541c807ae793db55043 (diff) |
Add note about transitional domain source interface
Diffstat (limited to 'app.go')
-rw-r--r-- | app.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -53,7 +53,7 @@ type theApp struct { } func (a *theApp) isReady() bool { - return a.domains.Ready() + return a.domains.IsReady() } func (a *theApp) ServeTLS(ch *tls.ClientHelloInfo) (*tls.Certificate, error) { @@ -348,7 +348,7 @@ func (a *theApp) Run() { a.listenMetricsFD(&wg, a.ListenMetrics) } - a.domains.Watch(a.Domain) + a.domains.Start(a.Domain) wg.Wait() } |