mirror of
https://github.com/go-micro/go-micro.git
synced 2025-01-29 18:04:17 +02:00
15 lines
174 B
Go
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
|
||
|
}
|