listener

package
v0.0.0-...-a2178a2 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintListenerDetails

func PrintListenerDetails(lis *Listener)

func PrintListeners

func PrintListeners(liss []*Listener)

Types

type Listener

type Listener struct {
	Id       uint
	Uuid     string
	Name     string
	Protocol string
	Addr     string
	Port     uint16
	Domains  []string
	Active   bool
}

func NewListener

func NewListener(
	id uint,
	_uuid string,
	name string,
	protocol string,
	addr string,
	port uint16,
	domains []string,
	active bool,
) *Listener

func (*Listener) GetActiveString

func (lis *Listener) GetActiveString() string

func (*Listener) GetAllURLs

func (lis *Listener) GetAllURLs() []string

This includes domain associated URLs such as "https://evil.com:12345"

func (*Listener) GetURL

func (lis *Listener) GetURL() string

Jump to

Keyboard shortcuts

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