Documentation ¶
Index ¶
- Variables
- type Controller
- func (x *Controller) CreateMetrics(ctx context.Context, c *app.RequestContext)
- func (x *Controller) DeleteMetrics(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)
- type CreateMetricsDto
- type DeleteMetricsDto
- type GetMetricsDto
- type M
- type PublishDto
- type Service
- func (x *Service) CreateMetrics(ctx context.Context, id primitive.ObjectID) (rs []interface{}, err error)
- func (x *Service) DeleteMetrics(ctx context.Context, id primitive.ObjectID) (rs []interface{}, 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
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
ImessagesServices *Service
}
func (*Controller) CreateMetrics ¶
func (x *Controller) CreateMetrics(ctx context.Context, c *app.RequestContext)
func (*Controller) DeleteMetrics ¶
func (x *Controller) DeleteMetrics(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)
type CreateMetricsDto ¶
type CreateMetricsDto struct {
Id string `path:"id" vd:"mongodb"`
}
type DeleteMetricsDto ¶
type DeleteMetricsDto struct {
Id string `path:"id" vd:"mongodb"`
}
type GetMetricsDto ¶
type GetMetricsDto struct {
Id string `path:"id" vd:"mongodb"`
}
type PublishDto ¶
type Service ¶
func (*Service) CreateMetrics ¶
func (*Service) DeleteMetrics ¶
func (*Service) GetMetrics ¶
Click to show internal directories.
Click to hide internal directories.