Discover Packages
github.com/hsqbyte/protospec
src
autocomply
package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Mar 25, 2026
License: GPL-3.0
Opens a new window with license information.
Imports: 2
Opens a new window with list of imports.
Imported by: ? modules, 0 packages
The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package autocomply provides automated protocol compliance management.
type Report struct {
Protocol string `json:"protocol"`
Rules []Rule `json:"rules"`
Violations []Violation `json:"violations"`
Score int `json:"score"`
}
Report represents a compliance report.
Check checks a protocol against compliance rules.
GenerateReport generates a formatted compliance report.
type Rule struct {
ID string `json:"id"`
Name string `json:"name"`
Standard string `json:"standard"`
Severity string `json:"severity"`
Description string `json:"description"`
}
Rule represents a compliance rule.
func DefaultRules() []Rule
DefaultRules returns default compliance rules.
type Violation struct {
RuleID string `json:"rule_id"`
Field string `json:"field"`
Message string `json:"message"`
Fix string `json:"fix_suggestion"`
}
Violation represents a compliance violation.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.