Commit 92712e0f authored by ztelur's avatar ztelur

format

parent 62b6716d
......@@ -19,9 +19,9 @@ package etcdv3
import (
"context"
"log"
"sync"
"time"
"log"
)
import (
......@@ -31,7 +31,6 @@ import (
"google.golang.org/grpc"
)
const (
// ConnDelay connection delay
ConnDelay = 3
......@@ -47,7 +46,7 @@ var (
// ErrNilETCDV3Client raw client nil
ErrNilETCDV3Client = perrors.New("etcd raw client is nil") // full describe the ERR
// ErrKVPairNotFound not found key
ErrKVPairNotFound = perrors.New("k/v pair not found")
ErrKVPairNotFound = perrors.New("k/v pair not found")
)
// Options client configuration
......@@ -90,7 +89,6 @@ func WithHeartbeat(heartbeat int) Option {
}
}
// NewConfigClient create new Client
func NewConfigClient(opts ...Option) *Client {
options := &Options{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment