Documentation ¶
Index ¶
- Variables
- type Controller
- func (x *Controller) DeleteMetrics(ctx context.Context, c *app.RequestContext)
- func (x *Controller) DeleteRule(ctx context.Context, c *app.RequestContext)
- func (x *Controller) GetMetrics(ctx context.Context, c *app.RequestContext)
- func (x *Controller) GetNodes(ctx context.Context, c *app.RequestContext)
- func (x *Controller) Publish(ctx context.Context, c *app.RequestContext)
- func (x *Controller) UpdateMetrics(ctx context.Context, c *app.RequestContext)
- func (x *Controller) UpdateRule(ctx context.Context, c *app.RequestContext)
- type DeleteMetricsDto
- type DeleteRuleDto
- type GetMetricsDto
- type M
- type PublishDto
- type Service
- func (x *Service) DeleteMetrics(ctx context.Context, id primitive.ObjectID) (rs []interface{}, err error)
- func (x *Service) DeleteRule(ctx context.Context, id primitive.ObjectID) (err error)
- func (x *Service) Event() (err error)
- func (x *Service) GetMetrics(ctx context.Context, id primitive.ObjectID) (rs []interface{}, err error)
- func (x *Service) GetNodes(ctx context.Context) (r interface{}, err error)
- func (x *Service) Publish(ctx context.Context, dto PublishDto) (r interface{}, err error)
- func (x *Service) R(ctx context.Context) *req.Request
- func (x *Service) UpdateMetrics(ctx context.Context, id primitive.ObjectID) (rs []interface{}, err error)
- func (x *Service) UpdateRule(ctx context.Context, id primitive.ObjectID) (r M, err error)
- type UpdateMetricsDto
- type UpdateRuleDto
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
ImessagesX *Service
}
func (*Controller) DeleteMetrics ¶
func (x *Controller) DeleteMetrics(ctx context.Context, c *app.RequestContext)
func (*Controller) DeleteRule ¶ added in v0.1.26
func (x *Controller) DeleteRule(ctx context.Context, c *app.RequestContext)
func (*Controller) GetMetrics ¶
func (x *Controller) GetMetrics(ctx context.Context, c *app.RequestContext)
func (*Controller) GetNodes ¶
func (x *Controller) GetNodes(ctx context.Context, c *app.RequestContext)
func (*Controller) Publish ¶
func (x *Controller) Publish(ctx context.Context, c *app.RequestContext)
func (*Controller) UpdateMetrics ¶ added in v0.1.26
func (x *Controller) UpdateMetrics(ctx context.Context, c *app.RequestContext)
func (*Controller) UpdateRule ¶ added in v0.1.26
func (x *Controller) UpdateRule(ctx context.Context, c *app.RequestContext)
type DeleteMetricsDto ¶
type DeleteMetricsDto struct {
Id string `path:"id" vd:"mongodb"`
}
type DeleteRuleDto ¶ added in v0.1.26
type DeleteRuleDto struct {
Id string `path:"id" vd:"mongodb"`
}
type GetMetricsDto ¶
type GetMetricsDto struct {
Id string `path:"id" vd:"mongodb"`
}
type PublishDto ¶
type Service ¶
func (*Service) DeleteMetrics ¶
func (*Service) DeleteRule ¶ added in v0.1.26
func (*Service) GetMetrics ¶
func (*Service) Publish ¶
func (x *Service) Publish(ctx context.Context, dto PublishDto) (r interface{}, err error)
func (*Service) UpdateMetrics ¶ added in v0.1.26
type UpdateMetricsDto ¶ added in v0.1.26
type UpdateMetricsDto struct {
Id string `path:"id" vd:"mongodb"`
}
type UpdateRuleDto ¶ added in v0.1.26
type UpdateRuleDto struct {
Id string `path:"id" vd:"mongodb"`
}
Click to show internal directories.
Click to hide internal directories.