controllers

package
v0.0.0-...-21bfe33 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package controllers contains all get functions of controllers

Index

Constants

This section is empty.

Variables

View Source
var (
	// GitVersion git version comes from Makefile
	GitVersion string

	// ServerInfo defines server info comes from Makefile
	ServerInfo string

	// Verbose defines verbosity, user given parameter, default 0: INFO logs
	Verbose int
)

All important variables in controllers are gathered here

Functions

func GetDatasets

func GetDatasets() gin.HandlerFunc

GetDatasets datasets controller

func GetDetailedDs

func GetDetailedDs() gin.HandlerFunc

GetDetailedDs controller that returns datasets according to DataTable request json

func GetDetailsPage

func GetDetailsPage(c *gin.Context)

GetDetailsPage serves details.html page

func GetIndexPage

func GetIndexPage(c *gin.Context)

GetIndexPage serves index.html page

func GetIndexPageFromShortUrlId

func GetIndexPageFromShortUrlId() gin.HandlerFunc

GetIndexPageFromShortUrlId controller that returns page from short url hash id

func GetServerInfo

func GetServerInfo(c *gin.Context)

GetServerInfo provides basic functionality of status response

func GetShortUrlParam

func GetShortUrlParam() gin.HandlerFunc

GetShortUrlParam controller that returns short url parameter which is md5 hash of the datatables request

func GetSingleDetailedDs

func GetSingleDetailedDs() gin.HandlerFunc

GetSingleDetailedDs controller that returns detailed dataset in TAPE or DISK

Types

This section is empty.

Jump to

Keyboard shortcuts

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