Documentation
¶
Index ¶
- func ChangeOrderStatus(orderId primitive.ObjectID)
- func CheckLogin(session *sessions.Session) bool
- func CheckUserLogin(session *sessions.Session) []byte
- func DoUserLogin(body []byte) ([]byte, primitive.ObjectID)
- func DoUserSignUp(body []byte) []byte
- func GetOrders(userId primitive.ObjectID) []map[string]interface{}
- func GetUserData(session *sessions.Session) []byte
- func GetUserId(session *sessions.Session) primitive.ObjectID
- func IsEmailAvailble(email string) bool
- func NotLoggedInResponse() []byte
- func PlaceOrder(order map[string]interface{}, userId primitive.ObjectID) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChangeOrderStatus ¶
func CheckLogin ¶
func CheckUserLogin ¶
checking if user already logedIn
func GetUserData ¶
func NotLoggedInResponse ¶
func NotLoggedInResponse() []byte
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.