Skip to content

Commit

Permalink
Rename module name k6/protocols/grpc to k6/net/grpc
Browse files Browse the repository at this point in the history
  • Loading branch information
na-- committed Nov 4, 2020
1 parent 6341f1a commit 98b6306
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
18 changes: 9 additions & 9 deletions js/modules/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ import (

// Index of module implementations.
var Index = map[string]interface{}{
"k6": k6.New(),
"k6/crypto": crypto.New(),
"k6/crypto/x509": x509.New(),
"k6/encoding": encoding.New(),
"k6/http": http.New(),
"k6/metrics": metrics.New(),
"k6/html": html.New(),
"k6/ws": ws.New(),
"k6/protocols/grpc": grpc.New(),
"k6": k6.New(),
"k6/crypto": crypto.New(),
"k6/crypto/x509": x509.New(),
"k6/encoding": encoding.New(),
"k6/http": http.New(),
"k6/metrics": metrics.New(),
"k6/html": html.New(),
"k6/ws": ws.New(),
"k6/net/grpc": grpc.New(),
}
2 changes: 1 addition & 1 deletion samples/grpc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import grpc from 'k6/protocols/grpc';
import grpc from 'k6/net/grpc';
import { check } from "k6";

let client = grpc.newClient();
Expand Down

0 comments on commit 98b6306

Please sign in to comment.