reprogl
1package models2
3import (4"net"5"time"6)
7
8type Activity struct {9Addr net.IP10UserAgent string11RequestedURI string12Time time.Time13IsCDN bool14Status int15FingerPrint string16LocationID int17Duration time.Duration18Method string19}
20
21func (a *Activity) IsBot() bool {22return isBot(a.UserAgent)23}
24