Search Apps Documentation Source Content File Folder Download Copy Actions Download

storage.gno

0.23 Kb · 11 lines
 1package gnorkle
 2
 3import "gno.land/p/demo/gnorkle/feed"
 4
 5// Storage defines how published feed values should be read
 6// and written.
 7type Storage interface {
 8	Put(value string) error
 9	GetLatest() feed.Value
10	GetHistory() []feed.Value
11}