mirror of
https://github.com/zigzap/zap.git
synced 2025-10-20 23:24:09 +00:00
fix comments
This commit is contained in:
parent
d656452667
commit
6f7e2f89fb
1 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ const UserMiddleWare = struct {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// Example session middleware: puts user info into the context
|
// Example session middleware: puts session info into the context
|
||||||
const SessionMiddleWare = struct {
|
const SessionMiddleWare = struct {
|
||||||
handler: Handler,
|
handler: Handler,
|
||||||
|
|
||||||
|
@ -130,7 +130,7 @@ const SessionMiddleWare = struct {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// Example html middleware: handles the request
|
// Example html middleware: handles the request and sends a response
|
||||||
const HtmlMiddleWare = struct {
|
const HtmlMiddleWare = struct {
|
||||||
handler: Handler,
|
handler: Handler,
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue