Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StreamServerInterceptor ¶
func StreamServerInterceptor(sm *StreamMetrics) grpc.StreamServerInterceptor
func UnaryServerInterceptor ¶
func UnaryServerInterceptor(um *UnaryMetrics) grpc.UnaryServerInterceptor
Types ¶
type StreamMetrics ¶
type StreamMetrics struct { RequestDuration metrics.Histogram RequestsReceived metrics.Counter RequestsCompleted metrics.Counter MessagesSent metrics.Counter MessagesReceived metrics.Counter }
func NewStreamMetrics ¶
func NewStreamMetrics(p metrics.Provider) *StreamMetrics
type UnaryMetrics ¶
type UnaryMetrics struct { RequestDuration metrics.Histogram RequestsReceived metrics.Counter RequestsCompleted metrics.Counter }
func NewUnaryMetrics ¶
func NewUnaryMetrics(p metrics.Provider) *UnaryMetrics
Directories ¶
Path | Synopsis |
---|---|
此源码被清华学神尹成大魔王专业翻译分析并修改 尹成QQ77025077 尹成微信18510341407 尹成所在QQ群721929980 尹成邮箱 yinc13@mails.tsinghua.edu.cn 尹成毕业于清华大学,微软区块链领域全球最有价值专家 https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 伪造者生成的代码。
|
此源码被清华学神尹成大魔王专业翻译分析并修改 尹成QQ77025077 尹成微信18510341407 尹成所在QQ群721929980 尹成邮箱 yinc13@mails.tsinghua.edu.cn 尹成毕业于清华大学,微软区块链领域全球最有价值专家 https://mvp.microsoft.com/zh-cn/PublicProfile/4033620 伪造者生成的代码。 |
Click to show internal directories.
Click to hide internal directories.