config

package
v0.0.0-...-71fa18b Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const DB_CONNECTION = "root:password@(blogs_api_db)/blogs_api?charset=utf8mb4,utf8\u0026readTimeout=30s\u0026writeTimeout=30s&parseTime=true"
View Source
const JWT_SECRET = "ibelieveinmiracles"
View Source
const TOKEN_TIME = 100000 // Token time validity in minutes

Variables

This section is empty.

Functions

func GetSqlx

func GetSqlx() *sqlx.DB

Types

This section is empty.

Jump to

Keyboard shortcuts

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