Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GinPrometheus ¶
type GinPrometheus struct {
// contains filtered or unexported fields
}
GinPrometheus declare gin server for prometheus
func New ¶
func New(e *gin.Engine, options ...Option) *GinPrometheus
New serve caller to create a GinPrometheus
func (*GinPrometheus) Middleware ¶
func (gp *GinPrometheus) Middleware() gin.HandlerFunc
Middleware return middleware for gin
Click to show internal directories.
Click to hide internal directories.