discoveryperipheral

package
v0.0.0-...-908cc04 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ID         = "discovery_peripheral"
	Name       = "Discovery Peripheral"
	ShellToUse = "powershell.exe"
)

Variables

This section is empty.

Functions

func ExecShell

func ExecShell(command string) (string, string, error)

func NewDiscoveryPeripheral

func NewDiscoveryPeripheral(opts ...DiscoveryPeripheralOptions) sergeant.Runnable

Types

type DiscoveryPeripheral

type DiscoveryPeripheral struct{}

func (*DiscoveryPeripheral) ID

func (e *DiscoveryPeripheral) ID() string

func (*DiscoveryPeripheral) Name

func (e *DiscoveryPeripheral) Name() string

func (*DiscoveryPeripheral) Run

func (e *DiscoveryPeripheral) Run(ctx context.Context, logger *zap.Logger) error

type DiscoveryPeripheralOptions

type DiscoveryPeripheralOptions struct{}

Jump to

Keyboard shortcuts

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