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: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChangeIndividual

func ChangeIndividual(c *gin.Context)

Changes all fields of an indiviudal

func ChangeIndividualBirthdate

func ChangeIndividualBirthdate(c *gin.Context)

Changes an individuals birthdate

func ChangeIndividualFirstName

func ChangeIndividualFirstName(c *gin.Context)

Changes an individuals first name

func ChangeIndividualLastName

func ChangeIndividualLastName(c *gin.Context)

Changes an individuals last name

func ChangeParty

func ChangeParty(c *gin.Context)

Changes all fields of a party

func ChangePartyAbbreviation

func ChangePartyAbbreviation(c *gin.Context)

Changes a partys abbreviation

func ChangePartyColor

func ChangePartyColor(c *gin.Context)

Changes a partys color

func ChangePartyLeader

func ChangePartyLeader(c *gin.Context)

Changes a partys leader

func ChangePartyLogo(c *gin.Context)

Changes a partys logo

func ChangePartyName

func ChangePartyName(c *gin.Context)

Changes a partys name

func CreateIndividual

func CreateIndividual(c *gin.Context)

Creates a new individual

func CreateParty

func CreateParty(c *gin.Context)

Creates a new party

func DeleteIndividual

func DeleteIndividual(c *gin.Context)

Deletes an individual

func DeleteParty

func DeleteParty(c *gin.Context)

Deletes a party

func GetIndividual

func GetIndividual(c *gin.Context)

Returns a single individual with a specific id

func GetIndividuals

func GetIndividuals(c *gin.Context)

Returns all individuals in the collection

func GetIndividualsBySlice

func GetIndividualsBySlice(c *gin.Context)

Returns all specified individuals in the collection

func GetParties

func GetParties(c *gin.Context)

Returns all parties in the collection

func GetPartiesBySlice

func GetPartiesBySlice(c *gin.Context)

Returns all specified parties in the collection

func GetParty

func GetParty(c *gin.Context)

Returns a single party with a specific id

Types

This section is empty.

Jump to

Keyboard shortcuts

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