package
Version:
v0.0.1
Opens a new window with list of versions in this module.
Published: Jun 17, 2025
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
TranslateFromGRPCError translates an error from a gRPC service to a errors.
If no error is passed, it returns nil.
TranslateToGRPCError translates an error from errors to a gRPC service.
If no error is passed, it returns nil.
type Config struct {
Port uint16 `env:"GRPC_SERVER_PORT" envDefault:"50051"`
}
Config is the configuration for the gRPC server.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.