webhook

package
v7.5.1 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2022 License: MIT Imports: 20 Imported by: 0

Documentation

Overview

Package webhook provides a module which adds a middleware for uploading output files to any destinations in an asynchronous fashion.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Webhook

type Webhook struct {
	// contains filtered or unexported fields
}

Webhook is a module which provides a middleware for uploading output files to any destinations in an asynchronous fashion.

func (Webhook) AddGraceDuration

func (w Webhook) AddGraceDuration() time.Duration

AddGraceDuration increases the grace duration provided by the API for the garbage collector.

func (Webhook) Descriptor

func (Webhook) Descriptor() gotenberg.ModuleDescriptor

Descriptor returns an Webhook's module descriptor.

func (Webhook) Middlewares

func (w Webhook) Middlewares() ([]api.Middleware, error)

Middlewares returns the middleware.

func (*Webhook) Provision

func (w *Webhook) Provision(ctx *gotenberg.Context) error

Provision sets the module properties.

Jump to

Keyboard shortcuts

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