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 task domain stores with mongodb.

func (*Store) GetAllTags

func (s *Store) GetAllTags(ctx context.Context) ([]task.Tags, error)

GetAllTags implemented with mongodb.

func (*Store) GetAllTasks

func (s *Store) GetAllTasks(ctx context.Context) ([]task.T, error)

GetAllTasks implemented with mongodb.

func (*Store) GetTagsByID

func (s *Store) GetTagsByID(ctx context.Context, ids []string) ([]task.Tags, error)

GetTagsByID implemented with mongodb.

func (*Store) GetTasksByID

func (s *Store) GetTasksByID(ctx context.Context, ids []string) ([]task.T, error)

GetTasksByID 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