Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Handler ¶
type Handler struct { // DNSHandler is required. DNSHandler dns_handler.Handler // Path specifies the query endpoint. If it is empty, Handler // will ignore the request path. Path string // SrcIPHeader specifies the header that contain client source address. // e.g. "X-Forwarded-For". SrcIPHeader string // Logger specifies the logger which Handler writes its log to. Logger *zap.Logger }
Click to show internal directories.
Click to hide internal directories.