Commit Graph

7 Commits

Author SHA1 Message Date
kiwiidb
b256a3fefe remove old api docs 2022-06-17 15:38:44 +02:00
Michael Bumann
d4dd9fa7e3 Set cache-control headers for static routes (getinfor and home)
This tells clients to cache the response for a few minutes and
thus makes it easier to run lndhub behind a proxy to cache static response
2022-05-09 15:38:40 +02:00
kiwiidb
2793303ad3 swagger: add all endpoints 2022-04-26 13:48:05 +02:00
Stefan Kostic
2748b7f2f3 Use request context in handlers 2022-02-08 13:36:50 +01:00
kiwiidb
7e2b432790 add optional custom node name 2022-02-01 09:22:44 +01:00
Michael Bumann
56a3f79506 Cleanup 2022-01-19 21:42:42 +01:00
Michael Bumann
5c5f600147 Add /getinfo endpoint
For now we simple return the getinfo response from LND.
In the future we should limit the response and exactly define the response value.
Also we should add some caching here to not always needing to hit the lightning node
2022-01-19 17:40:06 +01:00