Add RPC Ping method
This commit is contained in:
parent
5442861cb8
commit
faf54b053a
1 changed files with 2 additions and 0 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue