micro/store/etcd_item.go
2015-02-07 20:12:57 +00:00

15 lines
174 B
Go

package store
type EtcdItem struct {
key string
value []byte
}
func (c *EtcdItem) Key() string {
return c.key
}
func (c *EtcdItem) Value() []byte {
return c.value
}