mirror of
https://github.com/juanfont/headscale.git
synced 2024-11-26 08:53:05 +00:00
2dfd42f80c
This commit is trying to DRY up the initiation of the gRPC client in each command: It renames the function to CLI instead of GRPC as it actually set up a CLI client, not a generic grpc client It also moves the configuration of address, timeout (which is now consistent) and api to use Viper, allowing users to set it via env vars and configuration file |
||
---|---|---|
.. | ||
headscale |