controllers

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2021 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasAdminRole

func HasAdminRole(c *gin.Context) bool

Types

type SalesController

type SalesController struct{}

func (SalesController) Create

func (SalesController) Create(c *gin.Context)

func (SalesController) Delete

func (SalesController) Delete(c *gin.Context)

func (SalesController) GetAll

func (SalesController) GetAll(c *gin.Context)

func (SalesController) GetByID

func (SalesController) GetByID(c *gin.Context)

type ServisanController

type ServisanController struct{}

func (ServisanController) Create

func (ServisanController) Create(c *gin.Context)

func (ServisanController) Delete

func (ServisanController) Delete(c *gin.Context)

func (ServisanController) GetAll

func (ServisanController) GetAll(c *gin.Context)

func (ServisanController) GetByNomorNota

func (ServisanController) GetByNomorNota(c *gin.Context)

func (ServisanController) Update

func (ServisanController) Update(c *gin.Context)

type SparepartController

type SparepartController struct{}

func (SparepartController) Create

func (SparepartController) Create(c *gin.Context)

func (SparepartController) Delete

func (SparepartController) Delete(c *gin.Context)

func (SparepartController) GetAll

func (SparepartController) GetAll(c *gin.Context)

func (SparepartController) GetByNomorNota

func (SparepartController) GetByNomorNota(c *gin.Context)

type TeknisiController

type TeknisiController struct{}

func (TeknisiController) Create

func (TeknisiController) Create(c *gin.Context)

func (TeknisiController) Delete

func (TeknisiController) Delete(c *gin.Context)

func (TeknisiController) GetAll

func (TeknisiController) GetAll(c *gin.Context)

func (TeknisiController) GetByID

func (TeknisiController) GetByID(c *gin.Context)

type UserController

type UserController struct{}

func (UserController) GetAll

func (UserController) GetAll(c *gin.Context)

func (UserController) Register

func (UserController) Register(c *gin.Context)

Jump to

Keyboard shortcuts

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