uaparser

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2024 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	BrowserFamily   string
	OperatingSystem string
	Device          string
}

Client define client information derived from user agent.

type Service

type Service interface {
	ParseUserAgent(string) Client
}

func ProvideService

func ProvideService() Service

ProvideService is a wire provider for User Agent parser service.

Jump to

Keyboard shortcuts

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