Add RPC Ping method

This commit is contained in:
Tobie Morgan Hitchcock 2018-05-09 12:13:44 +01:00
parent 5442861cb8
commit faf54b053a

View file

@ -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) {