Skip to content
Snippets Groups Projects

Resolve "Unimplemented methods of PrincipalNetworkDomainAdapter"

2 files
+ 66
0
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 17
0
package client
import (
spb "code.fbi.h-da.de/danet/api/go/gosdn/southbound"
"google.golang.org/grpc"
)
// SbiClient returns a client for the gRPC SBI service. It takes
// the address of the gRPC endpoint and optional grpc.DialOption
// as argument
func SbiClient(addr string, opts ...grpc.DialOption) (spb.SbiServiceClient, error) {
conn, err := grpc.Dial(addr, opts...)
if err != nil {
return nil, err
}
return spb.NewSbiServiceClient(conn), nil
}
Loading