handler

package
v0.0.0-...-9f0065b Latest Latest
Warning

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

Go to latest
Published: May 2, 2023 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SetProjectResourceHandler

type SetProjectResourceHandler struct {
	// Configuration file for the worker
	ConfigFile        string
	ApiNotifierClient *redis.Client
}

SetProjectResourceHandler implements `bokchoy.Handler` for applying update on project resource.

func (*SetProjectResourceHandler) Handle

Handle performs project resource update based on the request payload.

type SetUserResourceHandler

type SetUserResourceHandler struct {
	// Configuration file for the worker
	ConfigFile        string
	ApiNotifierClient *redis.Client
}

SetUserResourceHandler implements `bokchoy.Handler` for applying update on user resource.

func (*SetUserResourceHandler) Handle

Handle performs user resource update based on the request payload.

type TaskResults

type TaskResults struct {
	Error error  `json:"errors"`
	Info  string `json:"info"`
}

TaskResults defines the output structure of the task

Jump to

Keyboard shortcuts

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