mirror of
https://github.com/balzack/databag.git
synced 2025-02-12 19:49:16 +00:00
36 lines
1.1 KiB
Go
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)
|
|
}
|