import "github.com/dueros/bot-sdk-go/bot"
application.go audio_player.go bot.go event_handler.go video_player.go
type Application struct {
AppId string
DisableCertificate bool
DisableVerifyJson bool
Handler func(rawRequest string) string
}
func (this *Application) ServeHTTP(w http.ResponseWriter, r *http.Request)
创建一个HTTP服务
func (this *Application) Start(host string)
启动HTTP服务
func (this *Application) Verify(w http.ResponseWriter, r *http.Request) bool
验证请求是否合法
Generated by godoc2md