chore(client): support gRPC and gRPC web protocol

Signed-off-by: Bo-Yi Wu <[email protected]>
This commit is contained in:
Bo-Yi Wu authored and Jason Song committed 2022-11-24 15:36:57 +08:00
1 parent 0b885c5e5f
commit d359276fe1
5 files changed
+51 -1

No files matched your search

+2
View File
@@ -176,6 +176,8 @@ func runDaemon(ctx context.Context, input *Input) func(cmd *cobra.Command, args
cfg.Client.Address,
cfg.Client.Secret,
cfg.Client.SkipVerify,
client.WithGRPC(cfg.Client.GRPC),
client.WithGRPCWeb(cfg.Client.GRPCWeb),
)
for {