mozillaGradingWorker

package
v0.0.0-...-ac45d91 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2024 License: MPL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ECCRSAKeySize = map[float64]float64{
	160: 1024,
	224: 2048,
	256: 3072,
	384: 7680,
	512: 15360,
}

ECCRSAKeySize is used to translate ECC keys length to their corresponding RSA ones

Functions

func Evaluate

func Evaluate(connInfo connection.Stored) ([]byte, error)

Evaluate runs compliance checks of the provided json Stored connection and returns the results

Types

type EvaluationResults

type EvaluationResults struct {
	Grade       float64  `json:"grade"`
	LetterGrade string   `json:"lettergrade"`
	Failures    []string `json:"failures"`
}

EvaluationResults contains the results of the mozillaEvaluationWorker

Jump to

Keyboard shortcuts

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