Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func TranslateFromGRPCError ¶
TranslateFromGRPCError translates an error from a gRPC service to a errors. If no error is passed, it returns nil.
Types ¶
type GRPCServerConfig ¶
type GRPCServerConfig struct {
Port uint16 `env:"GRPC_SERVER_PORT" envDefault:"50051"`
}
Click to show internal directories.
Click to hide internal directories.