(k *protocol.Kite, v *kontrolprotocol.RegisterValue)
| 96 | } |
| 97 | |
| 98 | func (e *Etcd) Upsert(k *protocol.Kite, v *kontrolprotocol.RegisterValue) error { |
| 99 | return e.Add(k, v) |
| 100 | } |
| 101 | |
| 102 | func (e *Etcd) Add(k *protocol.Kite, v *kontrolprotocol.RegisterValue) error { |
| 103 | etcdKey := KitesPrefix + k.String() |