feat: caching headers
This commit is contained in:
@@ -22,6 +22,6 @@ func New(mux *http.ServeMux, srv pageService) *Handler {
|
||||
}
|
||||
|
||||
type pageService interface {
|
||||
GetPages() ([]page.PageHeader, error)
|
||||
GetPages(ctx context.Context) ([]page.PageHeader, error)
|
||||
GetPage(ctx context.Context, uid string) (page.Page, error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user