Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit 415b353

Browse files
Stebalienaschmahmann
authored andcommitted
doc: document WithDatastore option
Co-authored-by: Adin Schmahmann <[email protected]>
1 parent aa54bc9 commit 415b353

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

namesys.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ func WithDNSResolver(rslv madns.BasicResolver) Option {
7878
}
7979
}
8080

81-
// WithDatastore is an option that supplies a datastore to use instead of an in-memory map datastore.
81+
// WithDatastore is an option that supplies a datastore to use instead of an in-memory map datastore. The datastore is used to store published IPNS records and make them available for querying.
8282
func WithDatastore(ds ds.Datastore) Option {
8383
return func(ns *mpns) error {
8484
ns.ds = ds

0 commit comments

Comments
 (0)