Google应用引擎 + Go + REST服务

huangapple go评论75阅读模式
英文:

Google app engine + Go + REST service

问题

在GAE + Go中如何实现这个功能:

http.HandleFunc("/ChatGetMessages/{user}/{pass}", ServiceHandler)

然后在"ServiceHandler"中可以访问"user"和"pass"。

谢谢!

英文:

How to do this in GAE + Go

http.HandleFunc("/ChatGetMessages/{user}/{pass}", ServiceHandler)

Then in the "ServiceHandler" have access to "user" and "pass".

Thanks

答案1

得分: 1

你所寻找的功能可以在大猩猩工具包的MUX包中找到。

英文:

The functionality you seek can be found in the MUX package of the gorilla toolkit.

huangapple
  • 本文由 发表于 2013年11月10日 07:55:03
  • 转载请务必保留本文链接:https://go.coder-hub.com/19884656.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定