micro/store/etcd_item.go

15 lines
174 B
Go
Raw Normal View History

2015-02-07 23:12:57 +03:00
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
}