mongodb

package
v0.0.0-...-dc4a31d Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Storage

type Storage struct {
	*mgo.Database
}

func (*Storage) Create

func (s *Storage) Create(user *model.User) error

func (*Storage) Delete

func (s *Storage) Delete(id string) error

func (*Storage) GetAll

func (s *Storage) GetAll() []model.User

func (*Storage) Ping

func (s *Storage) Ping() error

Jump to

Keyboard shortcuts

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