class

Analyzer::Go::Fiber

Inherits Analyzer::Go::GoEngine < Analyzer::Go::GoTestPath < Analyzer < FileHelper < Reference < Object

Constants

BUILDER_TYPE = "fiber.Router"
IMPORT_MARKER = "github.com/gofiber/fiber"
REQUEST_HEADER_GET_RE = /\b(?:c|ctx)\.Get\(\s*"([^"]+)"/

Class methods

tech_name
Source

Instance methods

analyze
Source
get_param(line : String) : Param
Source
tech

Instance-side view of the same declaration. The per-file rescues live on this base class, which has no way to name the analyzer that is running inside them, so a skipped file could not be attributed to a tech. Deriving it from analyzer_for keeps the name written exactly once.

Source