Documentation
¶
Index ¶
- Constants
- func DBConnection() *gorm.DB
- func GetJSONFromCtx(ctx *gin.Context) (bodyData map[string]interface{}, err error)
- func GetMapInterfaceFromJson(data []byte) (bodyData map[string]interface{}, err error)
- func HashAndSalt(pwd []byte) string
- func TransformParameterType(parameter interface{}, parameterType string) (interface{}, error)
Constants ¶
View Source
const (
JWT_SECRET = "my_secret_key"
)
TODO: get token from env variable
Variables ¶
This section is empty.
Functions ¶
func DBConnection ¶
func GetJSONFromCtx ¶
func GetMapInterfaceFromJson ¶
func HashAndSalt ¶
func TransformParameterType ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.