2018-06-10 20:49:32 +00:00
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
2018-06-15 13:29:56 +00:00
|
|
|
e "git.xdrm.io/go/xb-api/err"
|
|
|
|
i "git.xdrm.io/go/xb-api/implement"
|
2018-06-10 20:49:32 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func Get(d i.Arguments, r *i.Response) i.Response {
|
|
|
|
fmt.Printf("GET /\n")
|
|
|
|
r.Set("api_version", 1.2)
|
|
|
|
r.Set("received_data", d)
|
|
|
|
r.Err = e.Success
|
|
|
|
return *r
|
|
|
|
}
|