controllers

package
v0.0.0-...-457b880 Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeBox

func ChangeBox(c *gin.Context)

Change a ballot box

func ChangeCity

func ChangeCity(c *gin.Context)

Change a city

func ChangeConstituency

func ChangeConstituency(c *gin.Context)

Change a constituency

func ChangeDistrict

func ChangeDistrict(c *gin.Context)

Change a district

func ChangeQuarter

func ChangeQuarter(c *gin.Context)

Change a quarter

func CreateBox

func CreateBox(c *gin.Context)

Create a ballot box

func CreateCity

func CreateCity(c *gin.Context)

Create a city

func CreateConstituency

func CreateConstituency(c *gin.Context)

Create a constituency

func CreateDistrict

func CreateDistrict(c *gin.Context)

Create a district

func CreateQuarter

func CreateQuarter(c *gin.Context)

Create a quarter

func DeleteBox

func DeleteBox(c *gin.Context)

Delete a ballot box

func DeleteCity

func DeleteCity(c *gin.Context)

Delete a city

func DeleteConstituency

func DeleteConstituency(c *gin.Context)

Delete a constituency

func DeleteDistrict

func DeleteDistrict(c *gin.Context)

Delete a district

func DeleteQuarter

func DeleteQuarter(c *gin.Context)

Delete a quarter

func GetBoxById

func GetBoxById(c *gin.Context)

Get a box by its id

func GetBoxByNumber

func GetBoxByNumber(c *gin.Context)

Get a box by its number

func GetCity

func GetCity(c *gin.Context)

Get a city by its id/name/number

func GetConstituency

func GetConstituency(c *gin.Context)

Get a constituency by its id/name

func GetDistrictById

func GetDistrictById(c *gin.Context)

Get a district by its id

func GetDistrictByName

func GetDistrictByName(c *gin.Context)

Get a district by its name

func GetQuarterById

func GetQuarterById(c *gin.Context)

Get a quarter by its id

func GetQuarterByName

func GetQuarterByName(c *gin.Context)

Get a quarter by its name

Types

This section is empty.

Jump to

Keyboard shortcuts

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