Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,11 @@ func (r *Reader) Metadata() maxminddb.Metadata {
return r.mmdbReader.Metadata
}

// Reader allows to access to raw maxminddb Reader
func (r *Reader) Reader() *maxminddb.Reader {
return r.mmdbReader
}

// Close unmaps the database file from virtual memory and returns the
// resources to the system.
func (r *Reader) Close() error {
Expand Down