Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bridge ¶
type Bridge struct {
// contains filtered or unexported fields
}
Bridge connects hawk to the inspect site-auditing library. If initialization fails, all operations degrade gracefully and return empty results rather than errors.
func NewBridge ¶
func NewBridge(opts ...inspectLib.Option) *Bridge
NewBridge creates a bridge to the inspect library with the given options. Returns a bridge that silently no-ops if initialization fails.
func (*Bridge) Run ¶
func (b *Bridge) Run(ctx context.Context, target string, opts ...inspectLib.Option) (*inspectLib.Report, error)
Run crawls the target URL and runs all configured checks, returning a complete report with findings and stats. Falls back silently if the bridge is not initialized.
func (*Bridge) RunContracts ¶
func (b *Bridge) RunContracts(ctx context.Context, target string, opts ...inspectLib.Option) (*verifycontracts.Report, error)
RunContracts performs a verification scan and returns the neutral verification contract.
Click to show internal directories.
Click to hide internal directories.