clientdetect

package
v0.0.0-...-20393a1 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2026 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNotFound

func IsNotFound(err error) bool

Types

type Detector

type Detector struct {
	HomeDir               string
	GOOS                  string
	Environment           map[string]string
	SystemApplicationsDir string
	WindowsProgramFiles   []string
	LinuxApplicationDirs  []string
	LookPath              func(string) (string, error)
	Lstat                 func(string) (fs.FileInfo, error)
}

func NewOS

func NewOS(homeDir string) Detector

func (Detector) Detect

func (detector Detector) Detect(ctx context.Context) ([]domain.DetectedClient, error)

Jump to

Keyboard shortcuts

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