nirvash/adapter/adapter.go
2022-05-29 00:26:36 -06:00

16 lines
311 B
Go

package adapter
import (
"nilfm.cc/git/nirvash/page"
)
type Adapter interface {
Name() string
GetConfig(key string) (interface{}, error)
SetConfig(key string, value interface{}) error
ListPages() map[string]string
GetPage(string) page.Page
FormatPage(string) string
FormattingHelp() string
Build()
}