You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
298 B
15 lines
298 B
package http |
|
|
|
import ( |
|
"go-common/library/log" |
|
bm "go-common/library/net/http/blademaster" |
|
"net/http" |
|
) |
|
|
|
func ping(c *bm.Context) { |
|
var err error |
|
if err = vdpSvc.Ping(c); err != nil { |
|
log.Error("videoup-interface ping error(%v)", err) |
|
c.AbortWithStatus(http.StatusServiceUnavailable) |
|
} |
|
}
|
|
|