request

package
v1.2.0-beta.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProcessFormAuthenticityRequest

type ProcessFormAuthenticityRequest struct {
	Enabled   bool   `form:"authenticity.enabled,default=false"`
	KeySource string `form:"authenticity.keySource"`
	Key       string `form:"authenticity.key"`
}

type ProcessFormAvailabilityRequest

type ProcessFormAvailabilityRequest struct {
	Enabled bool   `form:"availability.enabled,default=false"`
	Type    string `form:"availability.type"`
}

type ProcessFormEncryptionRequest

type ProcessFormEncryptionRequest struct {
	Enabled   bool   `form:"encryption.enabled,default=false"`
	KeySource string `form:"encryption.keySource"`
	Key       string `form:"encryption.key"`
}

type ProcessFormIntegrityRequest

type ProcessFormIntegrityRequest struct {
	Enabled bool `form:"integrity.enabled,default=false"`
}

type ProcessFormRequest

type ProcessFormRequest struct {
	File         *multipart.FileHeader `form:"file"`
	Url          string                `form:"url"`
	Integrity    ProcessFormIntegrityRequest
	Authenticity ProcessFormAuthenticityRequest
	Encryption   ProcessFormEncryptionRequest
	Availability ProcessFormAvailabilityRequest
}

Jump to

Keyboard shortcuts

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