wikingo/model/store.go

12 lines
236 B
Go

package model
// Store interface
type Store interface {
Open() error
AddPage(string, string) error
CreatePage(Page) error
GetPage(string) (Page, error)
GetPageVersion(string, string) (Page, error)
GetAllPages() ([]Page, error)
}