routes

package
v0.0.0-...-cbe3bb0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStudent

func GetStudent(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func GetStudents

func GetStudents(w http.ResponseWriter, r *http.Request, ps httprouter.Params)

func Login

Types

type LoginResponse

type LoginResponse struct {
	RefreshToken string `json:"refreshToken"`
	AccessToken  string `json:"accessToken"`
}

type Student

type Student struct {
	ID   string `json:"id"`
	Name string `json:"name"`
}

Jump to

Keyboard shortcuts

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