rtsp

package
v0.0.0-...-d3b8d62 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusOK           = 200
	StatusUnauthorized = 401
	StatusNotFound     = 404
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IPAddr

type IPAddr struct {
	IP   string
	Port string
}

type Options

type Options struct {
	UserAgent string
	Threads   int
	Timeout   time.Duration
	PathList  []string
	UserList  []string
	PassList  []string
}

type Runner

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

func NewRunner

func NewRunner(options *Options) (*Runner, error)

func (*Runner) CheckAlive

func (r *Runner) CheckAlive(targets []string) (results []IPAddr)

func (*Runner) Handler

func (r *Runner) Handler(serv Service) (status int, err error)

func (*Runner) Run

func (r *Runner) Run(targets []IPAddr) (results []string)

func (*Runner) Scan

func (r *Runner) Scan(serv Service) (result Service, err error)

type Service

type Service struct {
	IP   string
	Port string
	Path string
	URL  string
}

Jump to

Keyboard shortcuts

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