We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae1990f commit 6a033e6Copy full SHA for 6a033e6
reader.go
@@ -20,6 +20,9 @@ var metadataStartMarker = []byte("\xAB\xCD\xEFMaxMind.com")
20
21
// Reader holds the data corresponding to the MaxMind DB file. Its only public
22
// field is Metadata, which contains the metadata from the MaxMind DB file.
23
+//
24
+// All of the methods on Reader are thread-safe. The struct may be safely
25
+// shared across goroutines.
26
type Reader struct {
27
hasMappedFile bool
28
buffer []byte
0 commit comments