api

package
v0.0.0-...-9d4e6bb Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2019 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *gorm.DB

Functions

func AddDepartment

func AddDepartment(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func AddDeptEmp

func AddDeptEmp(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func AddDeptManager

func AddDeptManager(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func AddEmployee

func AddEmployee(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func AddSalary

func AddSalary(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func AddTitle

func AddTitle(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func ConfigRouter

func ConfigRouter() http.Handler

func DeleteDepartment

func DeleteDepartment(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func DeleteDeptEmp

func DeleteDeptEmp(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func DeleteDeptManager

func DeleteDeptManager(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func DeleteEmployee

func DeleteEmployee(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func DeleteSalary

func DeleteSalary(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func DeleteTitle

func DeleteTitle(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func GetAllDepartments

func GetAllDepartments(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func GetAllDeptEmps

func GetAllDeptEmps(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func GetAllDeptManagers

func GetAllDeptManagers(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func GetAllEmployees

func GetAllEmployees(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func GetAllSalaries

func GetAllSalaries(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func GetAllTitles

func GetAllTitles(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func GetDepartment

func GetDepartment(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func GetDeptEmp

func GetDeptEmp(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func GetDeptManager

func GetDeptManager(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func GetEmployee

func GetEmployee(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func GetSalary

func GetSalary(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func GetTitle

func GetTitle(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func UpdateDepartment

func UpdateDepartment(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func UpdateDeptEmp

func UpdateDeptEmp(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func UpdateDeptManager

func UpdateDeptManager(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func UpdateEmployee

func UpdateEmployee(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func UpdateSalary

func UpdateSalary(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func UpdateTitle

func UpdateTitle(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

Types

This section is empty.

Jump to

Keyboard shortcuts

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