service

package
v0.0.0-...-16335c8 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2017 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service interface{}

Service interface

type UserService

type UserService struct{}

UserService is a service

func (*UserService) Create

func (v *UserService) Create(tx *sql.Tx, du *db.User) error

Create User

func (*UserService) Delete

func (v *UserService) Delete(tx *sql.Tx, id string) error

Delete User

func (*UserService) Listup

func (v *UserService) Listup(tx *sql.Tx) (model.UserList, error)

Listup User

func (*UserService) Lookup

func (v *UserService) Lookup(tx *sql.Tx, id string) (*model.User, error)

Lookup User

func (*UserService) Update

func (v *UserService) Update(tx *sql.Tx, du *db.User) error

Update User

Jump to

Keyboard shortcuts

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