workflows

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: BSD-3-Clause Imports: 14 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 {
	WorkflowsX *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

	EndpointsX *endpoints.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" vd:"required"`
}

Jump to

Keyboard shortcuts

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