workflows

package
v0.1.3-beta.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2023 License: BSD-3-Clause Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Provides = wire.NewSet(
	wire.Struct(new(Controller), "*"),
	wire.Struct(new(Service), "*"),
)

Functions

This section is empty.

Types

type Controller

type Controller struct {
	WorkflowsService *Service
}

func (*Controller) State

func (x *Controller) State(ctx context.Context, c *app.RequestContext)

func (*Controller) Sync

func (x *Controller) Sync(ctx context.Context, c *app.RequestContext)

type M

type M = map[string]interface{}

type Service

type Service struct {
	*common.Inject

	Schedules *schedules.Service
}

func (*Service) Event

func (x *Service) Event() (err error)

func (*Service) State

func (x *Service) State(ctx context.Context, id primitive.ObjectID) (r typ.ScheduleOption, err error)

func (*Service) Sync

func (x *Service) Sync(ctx context.Context, id primitive.ObjectID) (err error)

type StatesDto

type StatesDto struct {
	Id primitive.ObjectID `json:"id,required"`
}

type SyncDto

type SyncDto struct {
	Id primitive.ObjectID `json:"id,required"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL