mirror of https://github.com/daffainfo/nuclei.git
Fixed linter issues
parent
41cf65978c
commit
b51294df15
|
@ -39,10 +39,10 @@ var _ Progress = &StatsTicker{}
|
|||
// StatsTicker is a progress instance for showing program stats
|
||||
type StatsTicker struct {
|
||||
active bool
|
||||
tickDuration time.Duration
|
||||
stats clistats.StatisticsClient
|
||||
server *http.Server
|
||||
outputJSON bool
|
||||
server *http.Server
|
||||
stats clistats.StatisticsClient
|
||||
tickDuration time.Duration
|
||||
}
|
||||
|
||||
// NewStatsTicker creates and returns a new progress tracking object.
|
||||
|
|
|
@ -51,7 +51,7 @@ type Options struct {
|
|||
ResolversFile string
|
||||
// StatsInterval is the number of seconds to display stats after
|
||||
StatsInterval int
|
||||
// StatsJSON writes stats ouput in JSON format
|
||||
// StatsJSON writes stats output in JSON format
|
||||
StatsJSON bool
|
||||
// MetricsPort is the port to show metrics on
|
||||
MetricsPort int
|
||||
|
|
Loading…
Reference in New Issue