ua2

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

DO NOT EDIT Code generated by ua/bot/make_bot.go

DO NOT EDIT Code generated by ua/client/make_client.go

DO NOT EDIT Code generated by ua/device/make_device.go

DO NOT EDIT Code generated by ua/os/make_os.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Parse

func Parse(s string, m *models.Model) (isBot bool)

Types

type Re2Func

type Re2Func = func() *re2.Regexp

func MustCompile2

func MustCompile2(s string) Re2Func

type ReFunc

type ReFunc = func() *regexp.Regexp

func MustCompile

func MustCompile(s string) ReFunc

type ReMatch

type ReMatch struct {
	// contains filtered or unexported fields
}

func MatchRe

func MatchRe(s string) *ReMatch

func MatchRe2

func MatchRe2(s string) *ReMatch

func (*ReMatch) FirstSubmatch

func (r *ReMatch) FirstSubmatch(s string) string

func (*ReMatch) MatchString

func (r *ReMatch) MatchString(s string) bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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