Documentation
¶
Index ¶
- type CountryCount
- type CountryStats
- type Store
- func (s *Store) Close() error
- func (s *Store) Count() (int, error)
- func (s *Store) CountryStats(geoLiteDBPath string) (CountryStats, error)
- func (s *Store) IsOptedOut(ip string) (bool, error)
- func (s *Store) RecordVisit(ip string) (int, error)
- func (s *Store) SetOptOut(ip string, optOut bool) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CountryCount ¶ added in v0.2.0
type CountryStats ¶ added in v0.1.6
type CountryStats struct {
TotalVisitors int
TopCountry string
TopCountryVisitors int
TopCountries []CountryCount
}
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) CountryStats ¶ added in v0.1.6
func (s *Store) CountryStats(geoLiteDBPath string) (CountryStats, error)
Click to show internal directories.
Click to hide internal directories.