mirror of https://github.com/status-im/consul.git
97a577502d
This commit reduces the interface to Load() a bit, in preparation for unexporting NewBuilder and having everything call Load. The three arguments are reduced to a single argument by moving the other two into the options struct. The three return values are reduced to two by moving the RuntimeConfig and Warnings into a LoadResult struct. |
||
---|---|---|
.. | ||
deregister | ||
register | ||
config.go | ||
config_test.go | ||
services.go | ||
services_test.go |