Documentation ¶
Index ¶
- Variables
- type Controller
- type M
- type PublishDto
- type Service
- func (x *Service) Destroy(ctx context.Context, js nats.JetStreamContext, name string) (err error)
- func (x *Service) Event() (err error)
- func (x *Service) GetClient(projectId primitive.ObjectID) (client *nats.Conn, err error)
- func (x *Service) GetJetStream(ctx context.Context, projectId primitive.ObjectID) (js nats.JetStreamContext, err error)
- func (x *Service) Info(ctx context.Context, id primitive.ObjectID) (r *nats.StreamInfo, err error)
- func (x *Service) Publish(ctx context.Context, dto PublishDto) (r interface{}, err error)
- func (x *Service) Sync(ctx context.Context, id primitive.ObjectID) (err error)
- type StateDto
- type SyncDto
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
QueuesX *Service
}
func (*Controller) Info ¶
func (x *Controller) Info(ctx context.Context, c *app.RequestContext)
func (*Controller) Publish ¶
func (x *Controller) Publish(ctx context.Context, c *app.RequestContext)
func (*Controller) Sync ¶
func (x *Controller) Sync(ctx context.Context, c *app.RequestContext)
type PublishDto ¶
Click to show internal directories.
Click to hide internal directories.