diff options
| author | Adnan Maolood <[email protected]> | 2021-02-23 09:21:21 -0500 |
|---|---|---|
| committer | Adnan Maolood <[email protected]> | 2021-02-23 09:21:21 -0500 |
| commit | 89f0b3f94bb864de79ad47c953b68c71d3d456d6 (patch) | |
| tree | f04f6d2c000ca54f067ae37f2cb2895bf3a55188 /tofu | |
| parent | text: Update documentation (diff) | |
| download | go-gemini-89f0b3f94bb864de79ad47c953b68c71d3d456d6.tar.xz go-gemini-89f0b3f94bb864de79ad47c953b68c71d3d456d6.zip | |
tofu: Update documentation
Diffstat (limited to 'tofu')
| -rw-r--r-- | tofu/tofu.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tofu/tofu.go b/tofu/tofu.go index a928be6..110a7d1 100644 --- a/tofu/tofu.go +++ b/tofu/tofu.go @@ -217,7 +217,8 @@ type PersistentHosts struct { writer *HostWriter } -// NewPersistentHosts returns a new persistent set of known hosts. +// NewPersistentHosts returns a new persistent set of known hosts that stores +// known hosts in hosts and writes new hosts to writer. func NewPersistentHosts(hosts *KnownHosts, writer *HostWriter) *PersistentHosts { return &PersistentHosts{ hosts, |