48 lignes
879 o
Go
48 lignes
879 o
Go
|
package router
|
||
|
|
||
|
import(
|
||
|
"github.com/gorilla/mux"
|
||
|
"net/http"
|
||
|
"html"
|
||
|
"strconv"
|
||
|
"github.com/ewhal/nyaa/model"
|
||
|
"github.com/ewhal/nyaa/service/user"
|
||
|
)
|
||
|
|
||
|
// Getting View User Registration
|
||
|
|
||
|
func UserRegisterFormHandler(w http.ResponseWriter, r *http.Request) {
|
||
|
|
||
|
}
|
||
|
|
||
|
// Getting View User Login
|
||
|
func UserLoginFormHandler(w http.ResponseWriter, r *http.Request) {
|
||
|
|
||
|
}
|
||
|
|
||
|
// Getting User Profile
|
||
|
func UserProfileHandler(w http.ResponseWriter, r *http.Request) {
|
||
|
|
||
|
}
|
||
|
|
||
|
// Getting View User Profile Update
|
||
|
func UserProfileFormHandler(w http.ResponseWriter, r *http.Request) {
|
||
|
|
||
|
}
|
||
|
|
||
|
// Post Registration controller
|
||
|
func UserRegisterPostHandler(w http.ResponseWriter, r *http.Request) {
|
||
|
|
||
|
}
|
||
|
|
||
|
// Post Login controller
|
||
|
func UserLoginPostHandler(w http.ResponseWriter, r *http.Request) {
|
||
|
|
||
|
}
|
||
|
|
||
|
// Post Profule Update controller
|
||
|
func UserProfilePostHandler(w http.ResponseWriter, r *http.Request) {
|
||
|
|
||
|
}
|
||
|
|