completed the Conference Members function by adding the "Update" functionality

This commit is contained in:
2026-02-10 11:12:50 -07:00
parent d0ec70cb48
commit 3e22429678
4 changed files with 59 additions and 20 deletions
+10
View File
@@ -75,6 +75,7 @@ type AmContext interface {
URLParamInt(string) (int, error)
URLPath() string
VarMap() jet.VarMap
Verb() string
}
/*----------------------------------------------------------------------------
@@ -435,6 +436,15 @@ func (c *amContext) VarMap() jet.VarMap {
return c.rendervars
}
// Verb returns the HTTP method (verb) for this request.
func (c *amContext) Verb() string {
rc := c.echoContext.Request().Method
if rc == "" {
rc = "GET"
}
return rc
}
// defoptions is the default options for the HTTP session.
var defoptions *AmSessionOptions = &AmSessionOptions{
Path: "/",