strictrpc

package
v0.0.0-...-a5c437e Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2024 License: MIT Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳