Documentation ¶
Overview ¶
Package mongo implements repo.Repo for a mongodb database.
Index ¶
- func New(connURL string) repo.Repo
- type Repo
- func (r Repo) Clean() error
- func (r Repo) Fields() repo.FieldSchemeRepo
- func (r Repo) Init() error
- func (r Repo) Notifications() repo.NotificationRepo
- func (r Repo) Projects() repo.ProjectRepo
- func (r Repo) Test() error
- func (r Repo) Tickets() repo.TicketRepo
- func (r Repo) Users() repo.UserRepo
- func (r Repo) Workflows() repo.WorkflowRepo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Repo ¶
Repo contains all model specific repos.
func (Repo) Fields ¶
func (r Repo) Fields() repo.FieldSchemeRepo
Fields returns the fieldSchemesRepo implementation for mongodb
func (Repo) Notifications ¶
func (r Repo) Notifications() repo.NotificationRepo
Notifications returns the notificationRepo implementation for mongodb
func (Repo) Projects ¶
func (r Repo) Projects() repo.ProjectRepo
Projects returns the projectRepo implementation for mongodb
func (Repo) Tickets ¶
func (r Repo) Tickets() repo.TicketRepo
Tickets returns the ticketRepo implementation for mongodb
func (Repo) Workflows ¶
func (r Repo) Workflows() repo.WorkflowRepo
Workflows returns the workflowRepo implementation for mongodb
Click to show internal directories.
Click to hide internal directories.