package
0.0.0-20240903105759-9f2ac5bbc954
Repository: https://github.com/zjy-dev/grpc-go-chatroom.git
Documentation: pkg.go.dev

# Functions

CheckPasswordHash checks if a password matches a hash.
HashPassword hashes a password using the bcrypt algorithm.
MustLoadEnvFile loads the .env file if it exists and panics if it does not.
WrapGRPCError wraps a given error with a gRPC status error if the error is not already a gRPC status error.