micro/store/memory_item.go

15 lines
180 B
Go
Raw Normal View History

package store
type MemoryItem struct {
key string
value []byte
}
func (m *MemoryItem) Key() string {
return m.key
}
func (m *MemoryItem) Value() []byte {
return m.value
}