Help us shape the future of Go! Take the 2026 Go Developer Survey

workflows

package
v0.1.13 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 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) 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) Sync

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

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