consul

consul service registration and discovery

Configuration

asjard:
  ## Service discovery and registration related configuration
  registry:
    ## consul registration and discovery center related configuration
    consul:
      ## Configure the database name in asjard.stores.consul.clients
      # client: default
      ## Timeout
      # timeout: 5s

Use

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

Last updated