api

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AbsencesGet

func AbsencesGet(c *gin.Context)

AbsencesGet - Return absence list

func AgendaGet

func AgendaGet(c *gin.Context)

AgendaGet -

func CreateKeyFromContext

func CreateKeyFromContext(c *gin.Context) string

CreateKey creates a package specific key for a given string

func Index

func Index(c *gin.Context)

Index is the index handler.

func NewRouter

func NewRouter() *gin.Engine

NewRouter returns a new router.

func NotationsGet

func NotationsGet(c *gin.Context)

NotationsGet - Returns a list of all user's notes

func TokenPost

func TokenPost(c *gin.Context)

TokenPost -

Types

type Route

type Route struct {
	// Name is the name of this Route.
	Name string
	// Method is the string for the HTTP method. ex) GET, POST etc..
	Method string
	// Pattern is the pattern of the URI.
	Pattern string
	// HandlerFunc is the handler function of this route.
	HandlerFunc gin.HandlerFunc
}

Route is the information for every URI.

type Routes

type Routes []Route

Routes is the list of the generated Route.

Jump to

Keyboard shortcuts

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