c83a2a09 by astaxie

modify the comments

1 parent 50a21d60
...@@ -13,6 +13,7 @@ ...@@ -13,6 +13,7 @@
13 // limitations under the License. 13 // limitations under the License.
14 14
15 // Package apiauth provides handlers to enable apiauth support. 15 // Package apiauth provides handlers to enable apiauth support.
16 //
16 // Simple Usage: 17 // Simple Usage:
17 // import( 18 // import(
18 // "github.com/astaxie/beego" 19 // "github.com/astaxie/beego"
...@@ -34,7 +35,9 @@ ...@@ -34,7 +35,9 @@
34 // 35 //
35 // beego.InsertFilter("*", beego.BeforeRouter,apiauth.APIAuthWithFunc(getAppSecret, 360)) 36 // beego.InsertFilter("*", beego.BeforeRouter,apiauth.APIAuthWithFunc(getAppSecret, 360))
36 // 37 //
37 // in the request user should include these params in the query 38 // Infomation:
39 //
40 // In the request user should include these params in the query
38 // 41 //
39 // 1. appid 42 // 1. appid
40 // 43 //
...@@ -44,7 +47,7 @@ ...@@ -44,7 +47,7 @@
44 // 47 //
45 // get the signature use apiauth.Signature() 48 // get the signature use apiauth.Signature()
46 // 49 //
47 // >>> should use url.QueryEscape() 50 // when you send to server remember use url.QueryEscape()
48 // 51 //
49 // 3. timestamp: 52 // 3. timestamp:
50 // 53 //
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!