Versions in this module Expand all Collapse all v1 v1.0.5 Apr 8, 2024 v1.0.3 Apr 8, 2024 Changes in this version + const DebugOutputType + const JSONOutputType + var Usage = ... + type BSONDump struct + InputSource *db.BSONSource + OutputOptions *OutputOptions + OutputWriter io.WriteCloser + ToolOptions *options.ToolOptions + func New(opts Options) (*BSONDump, error) + func (bd *BSONDump) Close() error + func (bd *BSONDump) Debug() (int, error) + func (bd *BSONDump) JSON() (int, error) + type Options struct + func ParseOptions(rawArgs []string, versionStr, gitCommit string) (Options, error) + type OutputOptions struct + BSONFileName string + ObjCheck bool + OutFileName string + Pretty bool + Type string + func (*OutputOptions) Name() string + func (oo *OutputOptions) GetBSONReader() (io.ReadCloser, error) + func (oo *OutputOptions) GetWriter() (io.WriteCloser, error) + type ReadNopCloser struct + func (ReadNopCloser) Close() error + type WriteNopCloser struct + func (WriteNopCloser) Close() error