services

package
Version: v0.0.0-...-0246943 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResourceService

type ResourceService struct {
}

func (*ResourceService) GetResources

func (s *ResourceService) GetResources(DB *db.Session, resType string) ([]resources.Resource, error)

func (*ResourceService) InsertResource

func (s *ResourceService) InsertResource(DB *db.Session, src resources.Resource) error

type UserService

type UserService struct {
}

func (*UserService) AuthenticateUser

func (s *UserService) AuthenticateUser(DB *db.Session, loginUser models.LoginUser) (bool, *models.User)

func (*UserService) InsertUser

func (s *UserService) InsertUser(DB *db.Session, createUser models.CreateUser) error

func (*UserService) RemoveUser

func (s *UserService) RemoveUser(DB *db.Session, user models.User) error

func (*UserService) UserExistByEmail

func (s *UserService) UserExistByEmail(DB *db.Session, email string) bool

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL