Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EchoExtractor ¶
type EchoExtractor struct{}
type Endpoint ¶
type Extractor ¶
type Extractor interface {
Extract(callInfo ssautil.CallInfo, parent *ssa.Function, pos token.Pos) (*Endpoint, bool)
}
func AutoExtractor ¶
type NetHttpExtractor ¶
type NetHttpExtractor struct{}
type WebFramework ¶
type WebFramework int
const ( EchoV4 WebFramework = iota Gin ChiV5 Iris12 Gorilla NetHttp None )
func DetectImported ¶
func DetectImported(dir, pattern string) (WebFramework, error)
Click to show internal directories.
Click to hide internal directories.