target

package
v0.1.9 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package target provides the container for the target node

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container map[string]Target

Container is a map of targets

func NewContainer

func NewContainer(env string, cfg config.ValidTargetConfig) Container

NewContainer creates a new TargetContainer

type Target

type Target struct {
	// Type of the target
	Type config.TargetType
	// URL of the target
	URL string
}

Target represents a target to be scanned

func (Target) GetTarget

func (t Target) GetTarget() *pb.Target

GetTarget returns the target

Jump to

Keyboard shortcuts

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