Refactor clustered DB framework

This commit is contained in:
Darren Shepherd
2020-05-05 14:59:15 -07:00
parent 4317a91b96
commit a18d387390
11 changed files with 283 additions and 156 deletions

View File

@@ -42,7 +42,7 @@ func (c *Cluster) newListener(ctx context.Context) (net.Listener, http.Handler,
})
}
func (c *Cluster) startClusterAndHTTPS(ctx context.Context) error {
func (c *Cluster) initClusterAndHTTPS(ctx context.Context) error {
l, handler, err := c.newListener(ctx)
if err != nil {
return err