Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatMiddleware ¶
func FormatMiddleware() gin.HandlerFunc
func JwtAuthMiddleware ¶
func JwtAuthMiddleware() gin.HandlerFunc
Types ¶
type CommonDataStructure ¶
type CommonDataStructure struct { ID int `json:"patientId" xml:"patientId" yaml:"patientId" binding:"required"` Name string `json:"fullName" xml:"fullName" yaml:"fullName" binding:"required"` Age int `json:"age" xml:"age" yaml:"age"` Address string `json:"address" xml:"address" yaml:"address"` Email string `json:"email" xml:"email" yaml:"email" binding:"required"` Password string `json:"password" xml:"password" yaml:"password" binding:"required"` Role string `json:"role" xml:"role" yaml:"role" binding:"required"` }
Click to show internal directories.
Click to hide internal directories.