Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Metrics ¶
type Metrics struct { TopicsHistogramVec *prometheus.HistogramVec SubscribtionsHistogramVec *prometheus.HistogramVec SnapshotsHistogramVec *prometheus.HistogramVec MessagesHistogramVec *prometheus.HistogramVec MessagesSizeHistogramVec *prometheus.HistogramVec //logger LogMetricsCounterVec *prometheus.CounterVec }
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server status server
func (*Server) GracefulStop ¶
GracefulStop serve graceful stop
func (*Server) ListenAndServe ¶
ListenAndServe start the service by address
Click to show internal directories.
Click to hide internal directories.