mirror of
https://github.com/kataras/iris.git
synced 2025-02-03 07:50:34 +01:00
26 lines
301 B
Go
26 lines
301 B
Go
|
package main
|
||
|
|
||
|
import "github.com/kataras/iris/v12"
|
||
|
|
||
|
func loginView(ctx iris.Context) {
|
||
|
|
||
|
}
|
||
|
|
||
|
func login(ctx iris.Context) {
|
||
|
|
||
|
}
|
||
|
|
||
|
func logout(ctx iris.Context) {
|
||
|
ctx.Logout()
|
||
|
|
||
|
ctx.Redirect("/", iris.StatusTemporaryRedirect)
|
||
|
}
|
||
|
|
||
|
func createTodo(ctx iris.Context) {
|
||
|
|
||
|
}
|
||
|
|
||
|
func getTodo(ctx iris.Context) {
|
||
|
|
||
|
}
|