repository

package
v0.0.0-...-a0f3549 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EventsRepository

type EventsRepository struct {
	// contains filtered or unexported fields
}

func NewEventsRepository

func NewEventsRepository() *EventsRepository

func (*EventsRepository) Get

func (this *EventsRepository) Get(id string) *entity.Event

func (*EventsRepository) GetAll

func (this *EventsRepository) GetAll() *[]entity.Event

func (*EventsRepository) GetByName

func (this *EventsRepository) GetByName(name string) *[]entity.Event

func (*EventsRepository) Save

func (this *EventsRepository) Save(event *entity.Event) *entity.Event

type UsersRepository

type UsersRepository struct {
	// contains filtered or unexported fields
}

func (*UsersRepository) Get

func (this *UsersRepository) Get(email string) *entity.User

func (*UsersRepository) GetAll

func (this *UsersRepository) GetAll() *[]entity.User

func (*UsersRepository) GetAllByEmails

func (this *UsersRepository) GetAllByEmails(emails []string) []entity.User

func (*UsersRepository) Save

func (this *UsersRepository) Save(user *entity.User) *entity.User

Jump to

Keyboard shortcuts

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