{"modulePath":"github.com/eric-erki/https-hyperledger.org","version":"v1.4.4","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package grpcmetrics\n\n## Functions\n\n```go\nfunc StreamServerInterceptor(sm *StreamMetrics) grpc.StreamServerInterceptor\n```\n\n```go\nfunc UnaryServerInterceptor(um *UnaryMetrics) grpc.UnaryServerInterceptor\n```\n\n## Types\n\n```go\ntype StreamMetrics struct {\n\tRequestDuration   metrics.Histogram\n\tRequestsReceived  metrics.Counter\n\tRequestsCompleted metrics.Counter\n\tMessagesSent      metrics.Counter\n\tMessagesReceived  metrics.Counter\n}\n```\n\n```go\nfunc NewStreamMetrics(p metrics.Provider) *StreamMetrics\n```\n\n```go\ntype UnaryMetrics struct {\n\tRequestDuration   metrics.Histogram\n\tRequestsReceived  metrics.Counter\n\tRequestsCompleted metrics.Counter\n}\n```\n\n```go\nfunc NewUnaryMetrics(p metrics.Provider) *UnaryMetrics\n```\n\n","path":"github.com/eric-erki/https-hyperledger.org/common/grpcmetrics","name":"grpcmetrics","synopsis":"","isRedistributable":true}
