Просмотр исходного кода

client: document PrevExistType

Brian Waldon 11 лет назад
Родитель
Сommit
8fdc6b154e
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      client/keys.go

+ 2 - 0
client/keys.go

@@ -27,6 +27,8 @@ import (
 	"github.com/coreos/etcd/Godeps/_workspace/src/golang.org/x/net/context"
 	"github.com/coreos/etcd/Godeps/_workspace/src/golang.org/x/net/context"
 )
 )
 
 
+// PrevExistType is used to define an existence condition when setting
+// or deleting Nodes.
 type PrevExistType string
 type PrevExistType string
 
 
 const (
 const (