Skip to content

如何在插件中获取控制台服务来源中配置的来源地址 #1489

Answered by johnlanni
titrxw asked this question in Q&A
Discussion options

You must be logged in to vote

看下这篇文章,到服务列表看到的服务名称就是这里说的FQDN,用这个方式来生成 client:

  config.client = wrapper.NewClusterClient(wrapper.FQDNCluster{
    FQDN: serviceName,
    Port: servicePort,
   }

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by johnlanni
Comment options

You must be logged in to vote
3 replies
@johnlanni
Comment options

@titrxw
Comment options

@johnlanni
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1488 on November 07, 2024 11:25.