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

# Functions

No description provided by the author
NewRpcClient initializes all service clients with a shared gRPC connection.
No description provided by the author
StreamInterceptor returns a gRPC stream interceptor that adds the authorization token to each stream request, except for the methods listed in publicMethods.
UnaryInterceptor returns a gRPC interceptor that adds the authorization token to each request, except for the methods listed in AuthMethods.

# Structs

AuthClient encapsulates the gRPC client and logger for authentication services.
ChatClient encapsulates the gRPC client for chat services.
FriendsClient encapsulates the gRPC client for friend services.
No description provided by the author
RpcClient manages multiple gRPC clients for different services.
No description provided by the author
TokenManager handles all operations related to managing tokens.

# Interfaces

For testing.