controllers

package
v0.0.0-...-5f2badd Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2020 License: MIT Imports: 9 Imported by: 0

Documentation

Overview

Package controllers will hold all of the logic for our routes that will be called in our main function in main.go

Package controllers will hold all of the logic for our routes that will be called in our main function in main.go

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAvailableOSes

func GetAvailableOSes(c echo.Context) error

func GetMacOSCustom

func GetMacOSCustom(c echo.Context) error

GetCustom takes in the list of software the user wants to download from the the request body, the lists are then used to generate the correct setup script

func GetMacOSFile

func GetMacOSFile(c echo.Context) error

GetFile takes in uuid and sends user the file to the install via CL

func GetMacOSGeneric

func GetMacOSGeneric(c echo.Context) error

GetGeneric creates the Generic setup script and sends it as response returns the file of the setup script

func GetMacOSItems

func GetMacOSItems(c echo.Context) error

GetItems sends struct of supported items for download

func GetUbuntuCustom

func GetUbuntuCustom(c echo.Context) error

GetCustom takes in the list of software the user wants to download from the the request body, the lists are then used to generate the correct setup script

func GetUbuntuFile

func GetUbuntuFile(c echo.Context) error

GetFile takes in uuid and sends user the file to the install via CL

func GetUbuntuGeneric

func GetUbuntuGeneric(c echo.Context) error

GetGeneric creates the Generic setup script and sends it as response returns the file of the setup script

func GetUbuntuItems

func GetUbuntuItems(c echo.Context) error

GetItems sends struct of supported items for download

Types

This section is empty.

Jump to

Keyboard shortcuts

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