Documentation ¶
Index ¶
- Variables
- type Controller
- func (x *Controller) Deploy(ctx context.Context, c *app.RequestContext)
- func (x *Controller) Keys(_ context.Context, c *app.RequestContext)
- func (x *Controller) Ping(_ context.Context, c *app.RequestContext)
- func (x *Controller) Revoke(_ context.Context, c *app.RequestContext)
- func (x *Controller) Undeploy(ctx context.Context, c *app.RequestContext)
- type DeployDto
- type KeysDto
- type M
- type PingDto
- type RevokeDto
- type Service
- func (x *Service) Deploy(ctx context.Context, id primitive.ObjectID) (err error)
- func (x *Service) Event() (err error)
- func (x *Service) Get(id string, key string) (r typ.ScheduleOption, err error)
- func (x *Service) Keys(id string) (keys []string, err error)
- func (x *Service) Ping(id string) (r bool, err error)
- func (x *Service) Revoke(id string, key string) (err error)
- func (x *Service) Set(id string, key string, option typ.ScheduleOption) (err error)
- func (x *Service) Undeploy(ctx context.Context, id primitive.ObjectID) (err error)
- type UnDeployDto
Constants ¶
This section is empty.
Variables ¶
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
SchedulesService *Service
}
func (*Controller) Deploy ¶
func (x *Controller) Deploy(ctx context.Context, c *app.RequestContext)
func (*Controller) Keys ¶
func (x *Controller) Keys(_ context.Context, c *app.RequestContext)
func (*Controller) Ping ¶
func (x *Controller) Ping(_ context.Context, c *app.RequestContext)
func (*Controller) Revoke ¶
func (x *Controller) Revoke(_ context.Context, c *app.RequestContext)
func (*Controller) Undeploy ¶
func (x *Controller) Undeploy(ctx context.Context, c *app.RequestContext)
type UnDeployDto ¶
Click to show internal directories.
Click to hide internal directories.