Documentation
¶
Index ¶
Constants ¶
View Source
const RuleID = "STRICT_RPC"
Variables ¶
View Source
var DEBUG = os.Getenv("DEBUG") != ""
View Source
var Rule = &check.RuleSpec{ ID: RuleID, Purpose: "Ensures that RPCs are defined in a strict manner.", Type: check.RuleTypeLint, Handler: check.RuleHandlerFunc(ruleFunc), Default: true, CategoryIDs: nil, Deprecated: false, ReplacementIDs: nil, }
View Source
var Spec = &check.Spec{ Rules: []*check.RuleSpec{Rule}, Info: &info.Spec{ SPDXLicenseID: "MIT", LicenseURL: "https://github.com/mfridman/buf-check-strictrpc/blob/main/LICENSE", Documentation: `Enforces an opinionated structure for RPC definitions, including strict file naming, single-service per file, and consistent request/response message naming patterns.`, }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.