vendor: update all dependencies

This commit is contained in:
Nick Craig-Wood
2017-07-23 08:51:42 +01:00
parent 0b6fba34a3
commit eb87cf6f12
2008 changed files with 352617 additions and 1004734 deletions
+2 -2
View File
@@ -47,7 +47,7 @@ type Server struct {
// NewServer creates a new Server. The Server will be listening for gRPC connections
// at the address named by the Addr field, without TLS.
func NewServer() (*Server, error) {
func NewServer(opts ...grpc.ServerOption) (*Server, error) {
l, err := net.Listen("tcp", "127.0.0.1:0")
if err != nil {
return nil, err
@@ -55,7 +55,7 @@ func NewServer() (*Server, error) {
s := &Server{
Addr: l.Addr().String(),
l: l,
Gsrv: grpc.NewServer(),
Gsrv: grpc.NewServer(opts...),
}
return s, nil
}