etcd

etcd服务注册发现

配置

asjard:
  ## 服务发现,注册相关配置
  registry:
    ## etcd注册发现中心相关配置
    etcd:
      ## 配置asjard.stores.etcd.clients中的数据库名称(key)
      # client: default
      ## 超时时间
      # timeout: 5s

使用

import _"github.com/asjard/asjard/pkg/registry/etcd"

最后更新于