Documentation ¶
Index ¶
- type Asn
- type AuthConfiguration
- type Configuration
- type Country
- type DatabaseConfiguration
- type EnvironmentConfiguration
- type FirewallDataOutputNew
- type FirewallOutputResult
- type GenericFirewallItem
- type MachineData
- type ServerConfiguration
- type VisitorDetailsQuery
- type VisitorGeoData
- type VisitorNetworkData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthConfiguration ¶
type AuthConfiguration struct {
ApiKey string
}
type Configuration ¶
type Configuration struct { Server ServerConfiguration Database DatabaseConfiguration Auth AuthConfiguration Environment EnvironmentConfiguration }
type DatabaseConfiguration ¶
type DatabaseConfiguration struct {
ConnectionUri string
}
type EnvironmentConfiguration ¶
type EnvironmentConfiguration struct {
Mode string
}
type FirewallDataOutputNew ¶
type FirewallDataOutputNew struct { QueryData VisitorDetailsQuery `json:"queryData"` CountryIsoCode string `json:"countryIsoCode"` CountryName string `json:"countryName"` ContinentIsoCode string `json:"continentIsoCode"` ContinentName string `json:"continentName"` Latitude float64 `json:"latitude"` Longitude float64 `json:"longitude"` IsInEuropeanUnion bool `json:"isInEuropeanUnion"` AutonomousSystemNumber uint `json:"autonomousSystemNumber"` AutonomousSystemOrganization string `json:"autonomousSystemOrganization"` HostName string `json:"hostName"` BrowserName string `json:"browserName"` BrowserVersion uasurfer.Version `json:"browserVersion"` OsPlatform string `json:"osPlatform"` OsName string `json:"osName"` OsVersion uasurfer.Version `json:"osVersion"` DeviceType string `json:"deviceType"` IsBot bool `json:"isBot"` }
type FirewallOutputResult ¶
type FirewallOutputResult struct { QueryData VisitorDetailsQuery `json:"queryData"` GeoData VisitorGeoData `json:"geoData"` NetworkData VisitorNetworkData `json:"networkData"` MachineData MachineData `json:"machineData"` Blocked bool `json:"blocked"` }
type GenericFirewallItem ¶
type MachineData ¶
type MachineData struct { BrowserName string `json:"browserName"` BrowserVersion uasurfer.Version `json:"browserVersion"` OsPlatform string `json:"osPlatform"` OsName string `json:"osName"` OsVersion uasurfer.Version `json:"osVersion"` DeviceType string `json:"deviceType"` IsBot bool `json:"isBot"` }
type ServerConfiguration ¶
type ServerConfiguration struct {
Port int
}
type VisitorDetailsQuery ¶
type VisitorDetailsQuery struct { ApiKey string `json:"apiKey" form:"apiKey" query:"apiKey"` IpAddress string `json:"ipAddress" form:"ipAddress" query:"ipAddress"` UserName string `json:"userName" form:"userName" query:"userName"` EmailAddress string `json:"emailAddress" form:"emailAddress" query:"emailAddress"` UserAgent string `json:"userAgent" form:"userAgent" query:"userAgent"` }
type VisitorGeoData ¶
type VisitorGeoData struct { CountryIsoCode string `json:"countryIsoCode"` CountryName string `json:"countryName"` ContinentIsoCode string `json:"continentIsoCode"` ContinentName string `json:"continentName"` Latitude float64 `json:"latitude"` Longitude float64 `json:"longitude"` IsInEuropeanUnion bool `json:"isInEuropeanUnion"` }
type VisitorNetworkData ¶
Click to show internal directories.
Click to hide internal directories.