Use query params too for page adding handler

This commit is contained in:
2023-03-28 19:40:09 +03:00
parent 9dafdf6abf
commit be8f5e019c
10 changed files with 339 additions and 19 deletions

View File

@@ -13,7 +13,7 @@ type Handler interface {
// Add new page.
//
// POST /pages
AddPage(ctx context.Context, req OptAddPageReq) (*Page, error)
AddPage(ctx context.Context, req OptAddPageReq, params AddPageParams) (*Page, error)
// GetFile implements getFile operation.
//
// Get file content.