simple

package
v0.0.0-...-32c0887 Latest Latest
Warning

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

Go to latest
Published: May 1, 2026 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item struct {
	ID   uint
	Name string
}

type SimpleClient

type SimpleClient struct {
	BrowserList []*Item
	OSList      []*Item
}

SimpleClient represents a simple implementation of the Client interface that uses the mileusna/useragent package for user-agent parsing.

func (*SimpleClient) Detect

func (s *SimpleClient) Detect(ctx context.Context, req *udetect.Request) (*udetect.Response, error)

Jump to

Keyboard shortcuts

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