mirror of
https://github.com/juanfont/headscale.git
synced 2024-12-20 19:09:07 +01: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 |
||
---|---|---|
.. | ||
cli | ||
headscale_test.go | ||
headscale.go |