From d340d81e39494b5338d42a8f054988bc3d9c77fd Mon Sep 17 00:00:00 2001 From: Roland Osborne Date: Thu, 13 Jan 2022 09:17:22 -0800 Subject: [PATCH] adding account delete interface --- net/server/internal/README.md | 2 +- net/server/internal/api_account.go | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/net/server/internal/README.md b/net/server/internal/README.md index 5b319927..8f90abf8 100644 --- a/net/server/internal/README.md +++ b/net/server/internal/README.md @@ -13,7 +13,7 @@ To see how to make this your own, look here: [README](https://github.com/swagger-api/swagger-codegen/blob/master/README.md) - API version: 0.0.1 -- Build date: 2022-01-13T05:04:37.485Z[GMT] +- Build date: 2022-01-13T17:14:57.205Z[GMT] ### Running the server diff --git a/net/server/internal/api_account.go b/net/server/internal/api_account.go index 9fb22e24..dc4cdfb0 100644 --- a/net/server/internal/api_account.go +++ b/net/server/internal/api_account.go @@ -38,6 +38,11 @@ func GetAccountApps(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusOK) } +func GetAccountAsset(w http.ResponseWriter, r *http.Request) { + w.Header().Set("Content-Type", "application/json; charset=UTF-8") + w.WriteHeader(http.StatusOK) +} + func GetAccountDid(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "application/json; charset=UTF-8") w.WriteHeader(http.StatusOK) @@ -73,6 +78,11 @@ func GetPublicClaimable(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusOK) } +func RemoveAccount(w http.ResponseWriter, r *http.Request) { + w.Header().Set("Content-Type", "application/json; charset=UTF-8") + w.WriteHeader(http.StatusOK) +} + func RemoveAccountApp(w http.ResponseWriter, r *http.Request) { w.Header().Set("Content-Type", "application/json; charset=UTF-8") w.WriteHeader(http.StatusOK)