nostr health

This commit is contained in:
boufni95 2024-01-15 19:49:29 +01:00
parent d1126940c3
commit b579974013
9 changed files with 3357 additions and 3229 deletions

View file

@ -240,6 +240,12 @@ service LightningPub {
// </App>
// <User>
rpc UserHealth(structs.Empty)returns(structs.Empty){
option (auth_type) = "User";
option (http_method) = "post";
option (http_route) = "/api/user/health";
option (nostr) = true;
}
rpc GetUserInfo(structs.Empty)returns(structs.UserInfo){
option (auth_type) = "User";
option (http_method) = "post";