2026-02-17 07:05:31 +00:00
|
|
|
package sync
|
|
|
|
|
|
|
|
|
|
import (
|
|
|
|
|
"context"
|
2026-02-24 15:34:53 +00:00
|
|
|
"net/http"
|
2026-02-17 07:05:31 +00:00
|
|
|
|
2026-03-03 17:08:58 +00:00
|
|
|
"github.com/Gleipnir-Technology/nidus-sync/html"
|
|
|
|
|
nhttp "github.com/Gleipnir-Technology/nidus-sync/http"
|
2026-03-12 23:49:16 +00:00
|
|
|
"github.com/Gleipnir-Technology/nidus-sync/platform"
|
2026-02-17 07:05:31 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
type contentMessageList struct{}
|
|
|
|
|
|
2026-03-12 23:49:16 +00:00
|
|
|
func getMessageList(ctx context.Context, r *http.Request, user platform.User) (*html.Response[contentMessageList], *nhttp.ErrorWithStatus) {
|
2026-02-17 07:05:31 +00:00
|
|
|
content := contentMessageList{}
|
2026-03-03 17:08:58 +00:00
|
|
|
return html.NewResponse("sync/message-list.html", content), nil
|
2026-02-17 07:05:31 +00:00
|
|
|
}
|