 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
	// Options is the settings to set up the MongoDB client connection.
	Options *Options
	// Database is the database name of the MongoDB.
	Database string
	// Collection is the collection name for storing cache Data. Default is "cache".
	Collection string
	// Encoder is the encoder to encode cache Data. Default is a Gob encoder.
	Encoder cache.Encoder
	// Decoder is the decoder to decode cache Data. Default is a Gob decoder.
	Decoder cache.Decoder
	// contains filtered or unexported fields
}
    Config contains options for the Mongo cache store.
type Options ¶
type Options = options.ClientOptions
Options keeps the settings to set up Mongo client connection.
 Click to show internal directories. 
   Click to hide internal directories.