micro/store/consul_item.go

15 lines
180 B
Go
Raw Normal View History

2015-01-14 02:31:27 +03:00
package store
type ConsulItem struct {
key string
value []byte
}
func (c *ConsulItem) Key() string {
return c.key
}
func (c *ConsulItem) Value() []byte {
return c.value
}