srg

package
v0.0.0-...-1858a95 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Store

type Store struct {
	*mongo.Client
	// contains filtered or unexported fields
}

Store implements user domain stores with mongodb.

func (*Store) GetAllUsers

func (s *Store) GetAllUsers(ctx context.Context) ([]user.U, error)

GetAllUsers implemented with mongodb.

func (*Store) GetUsersByID

func (s *Store) GetUsersByID(ctx context.Context, ids []string) ([]user.U, error)

GetUsersByID implemented with mongodb.

func (*Store) Up

func (s *Store) Up(client *mongo.Client) error

Jump to

Keyboard shortcuts

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