routes

package
v0.0.0-...-3ccc3fb Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package routes contains all routes of the application

Package routes contains all routes of the application

Package routes contains all routes of the application

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplicationV1Router

func ApplicationV1Router(router *gin.Engine, db *gorm.DB)

ApplicationV1Router is a function that contains all routes of the application @host localhost:8080 @BasePath /v1

func AuthRoutes

func AuthRoutes(router *gin.RouterGroup, controller *authController.Controller)

AuthRoutes is a function that contains all routes of the auth

func UserRoutes

func UserRoutes(router *gin.RouterGroup, controller *userController.Controller)

UserRoutes is a function that contains all routes of the user

Types

type Security

type Security struct {
	Authorization string `header:"Authorization" json:"Authorization"`
}

Security is a struct that contains the security of the application @SecurityDefinitions.jwt

Jump to

Keyboard shortcuts

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