Documentation ¶
Index ¶
- func CheckHashPassword(password, hash string) bool
- func GenerateHashPassword(password string) (string, error)
- func GenerateJWTTokenFromClaims(claims *types.JwtCustomClaims) (string, error)
- func GetHostApp() string
- func GetJWTAuthConfig() config.JWTAuthConfig
- func GetMysqlDBConnection() config.MysqlDBSQLConnection
- func GetPortApp() string
- func GetPostgresDBConnection() config.PostgresDBSQLConnection
- func GetRedisDBCacheConnection() config.RedisDBCacheConnection
- func GetRequestUser(c echo.Context) *request.RequestUser
- func MockConnectionDatabaseSQL(dialect constant.DialectDatabaseSQLType) (*gorm.DB, sqlmock.Sqlmock)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CheckHashPassword ¶
func GenerateHashPassword ¶
func GenerateJWTTokenFromClaims ¶
func GenerateJWTTokenFromClaims(claims *types.JwtCustomClaims) (string, error)
func GetHostApp ¶
func GetHostApp() string
func GetJWTAuthConfig ¶
func GetJWTAuthConfig() config.JWTAuthConfig
func GetMysqlDBConnection ¶
func GetMysqlDBConnection() config.MysqlDBSQLConnection
func GetPortApp ¶
func GetPortApp() string
func GetPostgresDBConnection ¶
func GetPostgresDBConnection() config.PostgresDBSQLConnection
func GetRedisDBCacheConnection ¶
func GetRedisDBCacheConnection() config.RedisDBCacheConnection
func GetRequestUser ¶
func GetRequestUser(c echo.Context) *request.RequestUser
func MockConnectionDatabaseSQL ¶
func MockConnectionDatabaseSQL(dialect constant.DialectDatabaseSQLType) (*gorm.DB, sqlmock.Sqlmock)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.