package
1.0.3
Repository: https://github.com/johnkhk/cli_chat_app.git
Documentation: pkg.go.dev

# Functions

NewAuthServer creates a new AuthServer with the given dependencies.
No description provided by the author
NewFriendsServer creates a new FriendsServer with the given dependencies.
NewJWTTokenValidator creates a new instance of JWTTokenValidator.
RunGRPCServer initializes and runs the gRPC server.
Adding the interceptors to your gRPC server configuration.
StreamServerInterceptor returns a new stream server interceptor for validating tokens.
UnaryServerInterceptor returns a new unary server interceptor for validating tokens.

# Structs

AuthServer implements the AuthService.
No description provided by the author
FriendsServer implements the FriendsService.
JWTTokenValidator is a struct that implements the TokenValidator interface using JWT.

# Interfaces

TokenValidator interface defines the method for validating tokens.