route

package
v0.0.0-...-7e1229b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 28, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AccountRoute

func AccountRoute(r chi.Router)

func AdminRoute

func AdminRoute(r chi.Router)

AdminRouter : will redirect all the Account Based service route file

func CallbackGoogle

func CallbackGoogle(w http.ResponseWriter, r *http.Request)

func CreateAccount

func CreateAccount(w http.ResponseWriter, r *http.Request)

func CreateUser

func CreateUser(w http.ResponseWriter, r *http.Request)

CreateUser : Create new User for the This Account

func DeleteUser

func DeleteUser(w http.ResponseWriter, r *http.Request)

DeleteUser: Delete the User Subscription for this Account

func GetAccount

func GetAccount(w http.ResponseWriter, r *http.Request)

Get the Account from the database

func GetUser

func GetUser(w http.ResponseWriter, r *http.Request)

GetUser: Get the User Subscription for this Account

func GetUserList

func GetUserList(w http.ResponseWriter, r *http.Request)

GetUserList : Get all active User in the Account from the process

func PublicRoute

func PublicRoute(r chi.Router)

func SignGoogle

func SignGoogle(w http.ResponseWriter, r *http.Request)

func SignInRoute

func SignInRoute(r chi.Router)

SignInRoute : will redirect all the sign in Based service route file

func SignUpMobile

func SignUpMobile(w http.ResponseWriter, r *http.Request)

func SignUpWithEmail

func SignUpWithEmail(w http.ResponseWriter, r *http.Request)

func SignUserNamePassword

func SignUserNamePassword(w http.ResponseWriter, r *http.Request)

func UpdateUser

func UpdateUser(w http.ResponseWriter, r *http.Request)

UpdateUser: Update the User Subscription for this Account

func UserRoute

func UserRoute(r chi.Router)

UserRoute : will redirect all the user Based service route file

Types

type SignUp

type SignUp struct {
	MobileNo  string
	EmailId   string
	FirstName string
	LastName  string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL