cmd

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: MIT Imports: 19 Imported by: 0

Documentation

Overview

Copyright © 2024 KIT-CERT <cert@kit.edu>

Index

Constants

View Source
const DstPort = 631
View Source
const QueueSizeMultiplier = 16

Variables

View Source
var ErrTooBig = fmt.Errorf("subnet too big to scan")
View Source
var PrinterNameSafeChars = []rune("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ")

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func RandomPrinterName added in v0.4.0

func RandomPrinterName(prefix string, length uint) string

RandomPrinterName generates a random printer name with the given prefix and length

Types

This section is empty.

Jump to

Keyboard shortcuts

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