mirror of
https://github.com/go-micro/go-micro.git
synced 2024-12-24 10:07:04 +02:00
15 lines
180 B
Go
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
|
|
}
|