completed the Conference Members function by adding the "Update" functionality
This commit is contained in:
@@ -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: "/",
|
||||
|
||||
Reference in New Issue
Block a user