1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
package data import "io" type LogEntry struct { // requeted resource Host string Path string URL string Status int // client network CountryCode string IP string ASN int // client info UserAgent string JA4 string JA3 string } type LogReader interface { Read(input io.Reader) ([]LogEntry, error) }