constants

package
v0.0.0-...-6ffa3c9 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2023 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	APIPing                    = "eg_ping"
	APIGetEncryptTaskToken     = "eg_getEncryptTaskToken"
	APIGetEncryptTaskTokenList = "eg_getEncryptTaskTokenList"
	APIGetEncryptedParts       = "eg_getEncryptedParts"
	APIEncryptChunk            = "eg_encryptChunk"
	APIEncryptChunkOnServer    = "eg_encryptChunkOnServer"
	APIGetDecryptTaskToken     = "eg_getDecryptTaskToken"
	APIDecryptChunk            = "eg_decryptChunk"
	APIGetDecryptedFile        = "eg_getDecryptedFile"
	APIPubkey                  = "pubkey"
	APIPubkeyReport            = "pubkey_report"
	APICert                    = "cert"
	APICertReport              = "cert_report"

	WsOpen           = "open"
	WsPing           = "ping"
	WsEncryptMessage = "encryptMessage"
	WsDecryptMessage = "decryptMessage"
)
View Source
const (
	MaxTimeDifference     = 600        // time difference between recryptor and authorizer must be less than 10 minutes
	MaxDecryptionDuration = 3 * 3600   // three hours
	ChunkSize             = 256 * 1024 // 256KB
	MaxSkippedChunk       = 20
	MaxMemForParsing      = 2 * 1024 * 1024 // maximum DRAM ParseMultipartForm can use
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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