mirror of
https://git.sr.ht/~adnano/go-gemini
synced 2024-04-26 11:45:14 +02:00
tofu: Update documentation
This commit is contained in:
parent
964c17b99f
commit
89f0b3f94b
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue