Skip to content

Commit

Permalink
Add Hostname field to querylog data structure
Browse files Browse the repository at this point in the history
(to be used by log pipelines reusing this package)
  • Loading branch information
abh committed Dec 21, 2021
1 parent a42b4b8 commit da06a0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions querylog/querylog.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ type QueryLogger interface {
// easyjson:json
type Entry struct {
Time int64
Hostname string `json:"omitempty"` // not filled in by geodns
Origin string
Name string
Qtype uint16
Expand Down

0 comments on commit da06a0a

Please sign in to comment.