interfaces

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2022 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ASTQuery

type ASTQuery struct {
	Language, Name, Group, QueryID string
}

type ASTQueryIDRepo

type ASTQueryIDRepo interface {
	GetQueryID(language, name, group string) (string, error)
	GetAllQueryIDsByGroup(language, name string) ([]ASTQuery, error)
}

type MethodLineRepo

type MethodLineRepo interface {
	GetMethodLines(scanID, queryID, pathID string) ([]string, error)
	GetMethodLinesByPath(scanID, queryID string) ([]*ResultPath, error)
}

type ResultPath

type ResultPath struct {
	PathID      string
	MethodLines []string
}

type SourceFile

type SourceFile struct {
	RemoteName string
	LocalName  string
}

type SourceFileRepo

type SourceFileRepo interface {
	DownloadSourceFiles(scanID string, sourceFiles []SourceFile) error
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL