micro/store/consul_item.go
2015-01-13 23:31:27 +00:00

15 lines
180 B
Go

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
}