Documentation ¶ Index ¶ type MongoDB func Connect(ctx context.Context, uri, db string) (*MongoDB, error) func (m *MongoDB) Disconnect(ctx context.Context) error func (m *MongoDB) Operation(fn func(*mongo.Database) error) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type MongoDB ¶ type MongoDB struct { // contains filtered or unexported fields } func Connect ¶ func Connect(ctx context.Context, uri, db string) (*MongoDB, error) func (*MongoDB) Disconnect ¶ func (m *MongoDB) Disconnect(ctx context.Context) error func (*MongoDB) Operation ¶ func (m *MongoDB) Operation(fn func(*mongo.Database) error) error Source Files ¶ View all Source files client.go Directories ¶ Show internal Expand all Path Synopsis account provider/email provider/oauth provider/oauth/apple provider/oauth/google provider/oauth/vk provider/oauth/yandex provider/phone provider/phone/service/smsprofi secure notifications relations statistic Click to show internal directories. Click to hide internal directories.