add node filter config

This commit is contained in:
ginuerzh
2024-05-08 21:25:14 +08:00
parent 332a3a1cd0
commit 40f709880d
7 changed files with 111 additions and 67 deletions

View File

@ -12,6 +12,11 @@ import (
"google.golang.org/grpc/credentials/insecure"
)
const (
GRPC string = "grpc"
HTTP string = "http"
)
type Options struct {
Token string
TLSConfig *tls.Config