cmd

package
v0.0.0-...-b50779b Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(args []string)

Add function handles the 'add' command to add a new URL to the list

func List

func List()

List function displays all URLs stored in gosos

func Live

func Live(interval int)

Live function manages the real-time monitoring of URLs

func Remove

func Remove(args []string)

Remove function handles the removal of a URL from the list

func Run

func Run()

Run function orchestrates the process of checking the status of all URLs in the list

Types

type URLStatus

type URLStatus struct {
	URL  string
	IsUp bool
}

Jump to

Keyboard shortcuts

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