2016-02-25 12:31:06 -09:00
|
|
|
package api
|
2016-02-23 20:07:57 -09:00
|
|
|
|
2016-02-23 20:29:27 -09:00
|
|
|
import (
|
2016-02-25 14:52:07 -09:00
|
|
|
"github.com/astaxie/beego"
|
2016-02-25 12:31:06 -09:00
|
|
|
"github.com/deluan/gosonic/api/responses"
|
2016-02-23 20:29:27 -09:00
|
|
|
)
|
2016-02-23 20:07:57 -09:00
|
|
|
|
2016-02-23 20:29:27 -09:00
|
|
|
type PingController struct{ beego.Controller }
|
|
|
|
|
|
2016-02-25 14:47:25 -09:00
|
|
|
func (c *PingController) Get() {
|
2016-03-02 07:11:46 -09:00
|
|
|
c.Ctx.Output.Body(responses.ToXML(responses.NewEmpty()))
|
2016-02-23 20:07:57 -09:00
|
|
|
}
|