mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
add keyword file to keep keys for internal usage
This commit is contained in:
parent
002eb1558a
commit
ac945c77de
@ -17,3 +17,9 @@ type TestFail string
|
|||||||
func (e TestFail) Error() string {
|
func (e TestFail) Error() string {
|
||||||
return string(e)
|
return string(e)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
type Keyword string
|
||||||
|
|
||||||
|
func (e Keyword) Error() string {
|
||||||
|
return string(e)
|
||||||
|
}
|
7
store/keywords.go
Normal file
7
store/keywords.go
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
package store
|
||||||
|
|
||||||
|
// keywords for internal useage
|
||||||
|
var keywords = map[string]bool{
|
||||||
|
"/acoounts": true,
|
||||||
|
"/ephemeralNodes": true,
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user