all repos — nirvash @ bea90e0e1c7f915e8156b691470241ce04f1a97d

modular CMS using the quartzgun library

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()
}