Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Analyzer = &analysis.Analyzer{ Name: "tanukirpc", Doc: "This is a static analysis tool for tanukirpc.", Run: run, Requires: []*analysis.Analyzer{ inspect.Analyzer, buildssa.Analyzer, }, ResultType: reflect.TypeFor[*AnalyzerResult](), }
Functions ¶
func AnalyzeTarget ¶
Types ¶
type AnalyzerResult ¶
type AnalyzerResult struct {
RoutePaths []RoutePath
}
type HandlerType ¶
type RoutePath ¶
type RoutePath interface {
Path() string
Method() string
Handler() HandlerType
}
Click to show internal directories.
Click to hide internal directories.