-
Notifications
You must be signed in to change notification settings - Fork 1
/
user.go
37 lines (27 loc) 路 938 Bytes
/
user.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
package route
import (
"log"
"net/http"
)
// CreateUser : Create new User for the This Account
func CreateUser(w http.ResponseWriter, r *http.Request) {
//ctx := r.Context().Value("AccountCtx").(*config.Context)
log.Print("Create User in Account")
//user := r.Context().Value("Body").(interface{})
//log.Print("Creating the User in db", user)
//service.CreateNewUser("")
}
// GetUser: Get the User Subscription for this Account
func GetUser(w http.ResponseWriter, r *http.Request) {
}
// DeleteUser: Delete the User Subscription for this Account
func DeleteUser(w http.ResponseWriter, r *http.Request) {
}
// UpdateUser: Update the User Subscription for this Account
func UpdateUser(w http.ResponseWriter, r *http.Request) {
}
// GetUserList : Get all active User in the Account from the process
func GetUserList(w http.ResponseWriter, r *http.Request) {
//ctx := r.Context().Value("AccountCtx").(*config.Context)
//
}