Categorygithub.com/tehsphinx/nrpc
modulepackage
0.1.0
Repository: https://github.com/tehsphinx/nrpc.git
Documentation: pkg.go.dev

# Packages

Package pubsub defines the Publisher and Subscriber interfaces.
Package testproto contains the generated testproto grpc code.

# Functions

NewClient creates a new pub-sub based grpc client.
NewServer creates a new pub-sub based grpc server.
StatsHandler returns a ServerOption that sets the StatsHandler for the server.
StreamInterceptor returns a ServerOption that sets the StreamServerInterceptor for the server.
UnaryInterceptor returns a ServerOption that sets the UnaryServerInterceptor for the server.
WithLogger sets the logger for the client or server.

# Constants

No description provided by the author
No description provided by the author

# Variables

No description provided by the author
Enum value maps for MessageType.
Enum value maps for MessageType.

# Structs

Client implements a pub-sub based grpc client.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Server implements the grpc.ServiceRegistrar interface.
StandardLogger implements the Logger interface using the standard library logger.

# Interfaces

Logger defines the interface for logging.

# Type aliases

No description provided by the author
Option defines an option for configuring the server.