MCPcopy Create free account

hub / github.com/benbjohnson/agency / functions

Functions41 in github.com/benbjohnson/agency

↓ 6 callersFunctionNewScanner
NewScanner creates a new user agent scanner.
scanner.go:28
↓ 5 callersMethodScan
Scan scans a user agent string for device information.
scanner.go:109
↓ 4 callersFunctionbindataRead
(data []byte, name string)
bindata.go:23
↓ 3 callersFunction_filePath
(dir, name string)
bindata.go:302
↓ 2 callersFunctionAsset
Asset loads and returns the asset for the given name. It returns an error if the asset could not be found or could not be loaded.
bindata.go:157
↓ 2 callersMethodModTime
()
bindata.go:64
↓ 2 callersMethodScanBytes
ScanBytes scans a user agent byte slice for device information.
scanner.go:37
↓ 1 callersFunctionAssetDir
AssetDir returns the file names below a certain directory embedded in the file by go-bindata. For example if you run go-bindata on data/... and data c
bindata.go:225
↓ 1 callersFunctionAssetInfo
AssetInfo loads and returns the asset info for the given name. It returns an error if the asset could not be found or could not be loaded.
bindata.go:183
↓ 1 callersMethodMode
()
bindata.go:61
↓ 1 callersFunctionRestoreAsset
RestoreAsset restores an asset under the given directory
bindata.go:261
↓ 1 callersFunctiondataBrowserCsv
()
bindata.go:83
↓ 1 callersFunctiondataBrowserCsvBytes
()
bindata.go:76
↓ 1 callersFunctiondataDeviceCsv
()
bindata.go:103
↓ 1 callersFunctiondataDeviceCsvBytes
()
bindata.go:96
↓ 1 callersFunctiondataMobileCsv
()
bindata.go:123
↓ 1 callersFunctiondataMobileCsvBytes
()
bindata.go:116
↓ 1 callersFunctiondataOsCsv
()
bindata.go:143
↓ 1 callersFunctiondataOsCsvBytes
()
bindata.go:136
↓ 1 callersMethodmatchBrowser
matchBrowser checks a unigram and bigram against the list of browser tokens.
scanner.go:179
↓ 1 callersMethodmatchDevice
matchDevice checks a unigram and bigram against the list of device tokens.
scanner.go:188
↓ 1 callersMethodmatchMobile
match checks a unigram against the list of mobile tokens.
scanner.go:170
↓ 1 callersMethodmatchOS
matchOS checks a unigram and bigram against the list of OS tokens.
scanner.go:197
↓ 1 callersMethodread
read retrieves the next rune from the string.
scanner.go:114
↓ 1 callersMethodreadNgrams
readWord reads a word and previous bigram from the string.
scanner.go:138
↓ 1 callersMethodreset
reset re-initializes the state of the scanner.
scanner.go:206
↓ 1 callersMethodunread
unread moves back one rune. Only works once.
scanner.go:132
FunctionAssetNames
AssetNames returns the names of the assets.
bindata.go:196
FunctionBenchmarkScan
(b *testing.B)
scanner_test.go:52
MethodIsDir
()
bindata.go:67
FunctionMustAsset
MustAsset is like Asset but panics when Asset would return an error. It simplifies safe initialization of global variables.
bindata.go:171
MethodName
()
bindata.go:55
FunctionRestoreAssets
RestoreAssets restores an asset under the given directory recursively
bindata.go:286
FunctionScan
Scan extracts properties from a user agent string.
scanner.go:231
FunctionScanBytes
ScanBytes extracts properties from a user agent byte slice.
scanner.go:226
MethodSize
()
bindata.go:58
MethodSys
()
bindata.go:70
FunctionTestScanBrowser
(t *testing.T)
scanner_test.go:10
FunctionTestScanDevice
(t *testing.T)
scanner_test.go:25
FunctionTestScanOS
(t *testing.T)
scanner_test.go:37
Functioninit
()
agency.go:21