Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于Gateway类中的secretKey 说明 #9

Closed
bangbangce opened this issue Jan 10, 2018 · 2 comments
Closed

关于Gateway类中的secretKey 说明 #9

bangbangce opened this issue Jan 10, 2018 · 2 comments

Comments

@bangbangce
Copy link

/**
* gateway 实例
*
* @var object
*/
protected static $businessWorker = null;

/**
 * 注册中心地址
 *
 * @var string
 */
public static $registerAddress = '127.0.0.1:1236';

/**
 * 秘钥
 * @var string
 */
public static $secretKey = '';

/**
 * 链接超时时间
 * @var int
 */
public static $connectTimeout = 3;

请问以上配置中的secretKey是取什么秘钥?是不是gateway配置中的keypath?

@bangbangce
Copy link
Author

补充一下,上面提到的keypath 是指证书路径

@walkor
Copy link
Owner

walkor commented Jan 10, 2018

secretKey是预留的属性,目前没用到,和证书没关系

@walkor walkor closed this as completed Jan 10, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants