diff --git a/web/rpc.go b/web/rpc.go index 341ae77b..8a08e760 100644 --- a/web/rpc.go +++ b/web/rpc.go @@ -31,6 +31,8 @@ type rpc struct{} func (r *rpc) Uniq(c *fibre.Context) (interface{}, error) { return rand.String(64), nil +func (r *rpc) Ping(c *fibre.Context) (interface{}, error) { + return "OK", nil } func (r *rpc) Info(c *fibre.Context) (interface{}, error) {