Documentation ¶
Overview ¶
Package grpc implements gRPC method handlers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitMetrics ¶
func InitMetrics(reg *prometheus.Registry)
InitMetrics must be called once before using this package. It registers and initializes metrics used by this package.
Types ¶
type Config ¶
type Config struct { CtxShutdown Ctx // Let streaming methods use def.MergeCancel(stream.Context(), CtxShutdown). Cert *tls.Certificate }
Click to show internal directories.
Click to hide internal directories.