Add more options to the plugin

Signed-off-by: Miek Gieben <miek@miek.nl>
This commit is contained in:
Miek Gieben
2020-01-16 07:15:09 +01:00
parent c2594d1768
commit acd0b73a49
4 changed files with 13 additions and 7 deletions

View File

@@ -54,7 +54,7 @@ type Client struct {
// New returns a new client that's dialed to addr using node as the local identifier.
func New(addr, node string) (*Client, error) {
// todo credentials
// todo credentials!
opts := []grpc.DialOption{grpc.WithInsecure()}
cc, err := grpc.Dial(addr, opts...)
if err != nil {