mongodb

package
v1.0.0-beta.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 6, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

README

MongoDB

MongoDB provider implementation.

Better encoder:

  • Encode: session.Base64Encode
  • Decode: session.Base64Decode

Based on: fasthttp/session/providers/mongodb

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(cfg Config) (*mongodb.Provider, error)

New returns a new configured postgres provider.

Types

type Config

type Config mongodb.Config

Config provider settings.

func NewConfigWith

func NewConfigWith(connectionURL string, dbName string, collection string) Config

NewConfigWith returns a new configuration with especific paremters.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL