Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CORSMiddleware ¶
func CORSMiddleware() gin.HandlerFunc
CORSMiddleware : This enables us interact with the React Frontend
func TokenAuthMiddleware ¶
func TokenAuthMiddleware() gin.HandlerFunc
TokenAuthMiddleware : will check for the validity of the authentication token provided. They will ensure that the auth rules are not broken.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.