databag/net/server/internal/api_account.go
2022-07-25 11:44:33 -07:00

36 lines
1.1 KiB
Go

package databag
import (
"net/http"
)
//GetAccountApps TODO list apps attached to account
func GetAccountApps(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "application/json; charset=UTF-8")
w.WriteHeader(http.StatusOK)
}
//GetAccountAsset TODO list assets hosted by account
func GetAccountAsset(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "application/json; charset=UTF-8")
w.WriteHeader(http.StatusOK)
}
//RemoveAccountApp TODO remove app attached to account
func RemoveAccountApp(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "application/json; charset=UTF-8")
w.WriteHeader(http.StatusOK)
}
//SetAccountExport TODO export account
func SetAccountExport(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "application/json; charset=UTF-8")
w.WriteHeader(http.StatusOK)
}
//SetAccountNode TODO set forwarding
func SetAccountNode(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "application/json; charset=UTF-8")
w.WriteHeader(http.StatusOK)
}