Переглянути джерело

client: document PrevExistType

Brian Waldon 11 роки тому
батько
коміт
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"
 )
 
+// PrevExistType is used to define an existence condition when setting
+// or deleting Nodes.
 type PrevExistType string
 
 const (