Documentation
¶
Index ¶
- func AbsencesGet(c *gin.Context)
- func AgendaGet(c *gin.Context)
- func CreateKeyFromContext(c *gin.Context) string
- func EventAgendaGet(c *gin.Context)
- func Index(c *gin.Context)
- func NewRouter() *gin.Engine
- func NotationsClassGet(c *gin.Context)
- func NotationsGet(c *gin.Context)
- func PersonalInformationsGet(c *gin.Context)
- func TokenPost(c *gin.Context)
- type Route
- type Routes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AgendaGet ¶
AgendaGet - Returns a list of all user's courses between start and end timestamps. start and end must be milliseconds UNIX timestamps. They are not mandatory and have defaults to the first and last day of the week.
func CreateKeyFromContext ¶
CreateKey creates a package specific key for a given string
func NotationsClassGet ¶ added in v0.0.4
NotationsClassGet - Returns a list of all user's class notes with min, average and max note
func NotationsGet ¶
NotationsGet - Returns a list of all user's notes
func PersonalInformationsGet ¶ added in v0.0.4
PersonalInformationsGet - Returns user's personal informations
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.
Click to show internal directories.
Click to hide internal directories.