Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthInterceptor ¶
func AuthInterceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)
func CheckPassword ¶
CheckPassword checks if the provided plaintext password is equivalent to the hashed password
func HashPassword ¶
HashPassword returns the hashed password
Types ¶
Click to show internal directories.
Click to hide internal directories.