func (c *tchanMetaClient) Health(ctx Context) (*meta.HealthStatus, error) { var resp meta.MetaHealthResult args := meta.MetaHealthArgs{} success, err := c.client.Call(ctx, "Meta", "health", &args, &resp) if err == nil && !success { } return resp.GetSuccess(), err }
func (c *tchanMetaClient) Health(ctx Context) (*gen.HealthStatus, error) { var resp gen.MetaHealthResult args := gen.MetaHealthArgs{} success, err := c.client.Call(ctx, c.thriftService, "health", &args, &resp) if err == nil && !success { } return resp.GetSuccess(), err }