Skip to content

Commit 3a6261c

Browse files
committed
Update README
Include missing QueryOptions.
1 parent 6917aef commit 3a6261c

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,15 +82,18 @@ include:
8282
server.
8383
* `Version`: Which version of the NTP protocol to use (2, 3 or 4).
8484
* `TTL`: The maximum number of IP hops before the request packet is discarded.
85+
* `LocalAddress`: The local IP address to use when sending the query. Useful
86+
when the host has multiple network interfaces.
8587
* `Auth`: The symmetric authentication key and algorithm used by the server to
8688
authenticate the query. The same information is used by the client to
8789
authenticate the server's response.
8890
* `Extensions`: Extensions may be added to modify NTP queries before they are
8991
transmitted and to process NTP responses after they arrive.
92+
* `GetSystemTime`: A custom function to obtain the current system time, used
93+
to override the default `time.Now` function.
9094
* `Dialer`: A custom network connection "dialer" function used to override the
9195
default UDP dialer function.
9296

93-
9497
## Using the NTP pool
9598

9699
The NTP pool is a shared resource provided by the [NTP Pool

0 commit comments

Comments
 (0)