Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct { Time int64 Origin string Name string Qtype uint16 Rcode int Answers int Targets []string LabelName string RemoteAddr string ClientAddr string HasECS bool }
easyjson:json
type FileLogger ¶
type FileLogger struct {
// contains filtered or unexported fields
}
func NewFileLogger ¶
func NewFileLogger(filename string, maxsize int, keep int) (*FileLogger, error)
func (*FileLogger) Write ¶
func (l *FileLogger) Write(e *Entry) error
type QueryLogger ¶
Click to show internal directories.
Click to hide internal directories.