Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
func NewController ¶
func NewController() *Controller
func (*Controller) ExpVar ¶
func (c *Controller) ExpVar() gin.HandlerFunc
func (*Controller) MetricsPrometheus ¶ added in v0.1.0
func (c *Controller) MetricsPrometheus() gin.HandlerFunc
MetricsPrometheus Prometheus指标统计
func (*Controller) PProf ¶
func (c *Controller) PProf() gin.HandlerFunc
func (*Controller) SetRoutes ¶ added in v0.1.0
func (c *Controller) SetRoutes(ginRouter gin.IRouter, grpcRouter *grpc.Gateway)
SetRoutes registers this handler's routes.
func (*Controller) Version ¶ added in v0.1.0
func (c *Controller) Version() gin.HandlerFunc
Click to show internal directories.
Click to hide internal directories.