adapter/adapter.go (raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
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() } |