server

package
v0.0.0-...-9d27f3e Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddTemplates

func AddTemplates(r *gin.Engine, prefix string)

func FortnightIndex

func FortnightIndex(c *gin.Context)

func ItemIndex

func ItemIndex(c *gin.Context)

func MonthIndex

func MonthIndex(c *gin.Context)

func NewsIndex

func NewsIndex(c *gin.Context)

func NotFoundIndex

func NotFoundIndex(c *gin.Context)

func Serve

func Serve(port string)

func TimeAndZone

func TimeAndZone(c *gin.Context) (int64, string)

func TimeZonePost

func TimeZonePost(c *gin.Context)

func TodayIndex

func TodayIndex(c *gin.Context)

func YearIndex

func YearIndex(c *gin.Context)

Types

type ChartData

type ChartData struct {
	Data   []int
	Labels []string
}

type TimeZoneData

type TimeZoneData struct {
	Zones []string
	Zone  string
}

Jump to

Keyboard shortcuts

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