package
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Aug 26, 2024
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package consulcli is connecting to the consul service client.
Init connecting to the consul service
Note: If the WithConfig(*api.Config) parameter is set, the addr parameter is ignored!
type Option func(*options)
Option set the consul client options.
WithConfig set consul config
WithDatacenter set datacenter
WithWaitTime set wait time
Source Files
¶
Click to show internal directories.
Click to hide internal directories.