Help us shape the future of Go! Take the 2026 Go Developer Survey

webui

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2026 License: AGPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Finding

type Finding struct {
	ID              string            `json:"id"`
	Time            string            `json:"time"`
	TimestampMillis int64             `json:"timestampMillis"`
	Type            string            `json:"type"`
	Confidence      string            `json:"confidence"`
	RuleName        string            `json:"ruleName"`
	Value           string            `json:"value"`
	URL             string            `json:"url,omitempty"`
	Details         map[string]string `json:"details,omitempty"`
}

type ScanContext added in v1.3.2

type ScanContext struct {
	TargetURL string
	Options   []ScanOption
}

ScanContext describes the target and effective settings for one scan.

type ScanOption added in v1.3.2

type ScanOption struct {
	Name  string
	Value string
}

ScanOption is a non-positional scan flag and its effective value.

type Server

type Server struct {
	// contains filtered or unexported fields
}

func Start

func Start() (*Server, error)

func StartIfEnabled

func StartIfEnabled(enabled bool) *Server

func StartWithContext added in v1.3.2

func StartWithContext(scanContext ScanContext) (*Server, error)

StartWithContext starts a findings UI server and attaches sanitized scan context.

func StartWithContextIfEnabled added in v1.3.2

func StartWithContextIfEnabled(enabled bool, scanContext ScanContext) *Server

StartWithContextIfEnabled starts the findings UI with scan context when enabled.

func (*Server) Close

func (s *Server) Close() error

func (*Server) Complete

func (s *Server) Complete()

func (*Server) Wait

func (s *Server) Wait()

Jump to

Keyboard shortcuts

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