package
0.0.2
Repository: https://github.com/jynychen/adguardhome.git
Documentation: pkg.go.dev

# Functions

AnonymizeIP masks ip to anonymize the client if the ip is a valid one.
New creates a new instance of the query log.
NewClientProto validates that the client protocol name is valid and returns the name as a ClientProto.

# Constants

Client protocol names.
Client protocol names.
Client protocol names.
Client protocol names.
Client protocol names.
ErrEndOfToken is an error returned by parse key token when the closing bracket is found.

# Structs

AddParams is the parameters for adding an entry.
Client is the information required by the query log to match against clients during searches.
Config is the query log configuration structure.

# Interfaces

QueryLog - main interface.

# Type aliases

ClientProto values are names of the client protocols.