pat/api
Martin Hebnes Pedersen 946a91fcc4 Move embedded web assets to web package
The embedded filesystem was in package main, making it inaccessible to
alternative main packages that need to serve the HTTP interface. Moving
the embed directive and web handlers to a dedicated web package allows
any package to import and use the web UI functionality.

This also improves separation of concerns by isolating static file
serving, template handling, and dev server proxying in a single package,
and simplifies the API by removing the staticContent parameter from
NewHandler.

Ref #512 and #15
2025-12-30 09:59:16 +01:00
..
types Prompt to create new account before connecting 2025-07-01 08:46:05 +02:00
api.go Move embedded web assets to web package 2025-12-30 09:59:16 +01:00
mailbox.go Move mailbox handlers to separate file 2025-06-17 06:05:37 +02:00
winlink_account.go API to check/register Winlink account 2025-06-30 06:54:51 +02:00
wshub.go Properly close websockets 2025-06-20 19:33:45 +02:00