浏览代码

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 (