File tree Expand file tree Collapse file tree 9 files changed +10
-10
lines changed
complex-server/cmd/complex-server-nats
hello-client/cmd/hello-client-nats
hello-server/cmd/hello-server-nats Expand file tree Collapse file tree 9 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ import (
10
10
"sync"
11
11
"syscall"
12
12
13
- "github.com/google/uuid"
14
- "github.com/nats-io/nats.go"
15
13
server "github.com/bytecodealliance/wrpc/examples/go/complex-server/bindings"
16
14
"github.com/bytecodealliance/wrpc/examples/go/complex-server/bindings/exports/wrpc_examples/complex/resources"
17
15
wrpc "github.com/bytecodealliance/wrpc/go"
18
16
wrpcnats "github.com/bytecodealliance/wrpc/go/nats"
17
+ "github.com/google/uuid"
18
+ "github.com/nats-io/nats.go"
19
19
)
20
20
21
21
type Foo struct {
Original file line number Diff line number Diff line change 7
7
"log/slog"
8
8
"os"
9
9
10
- "github.com/nats-io/nats.go"
11
10
"github.com/bytecodealliance/wrpc/examples/go/hello-client/bindings/wrpc_examples/hello/handler"
12
11
wrpcnats "github.com/bytecodealliance/wrpc/go/nats"
12
+ "github.com/nats-io/nats.go"
13
13
)
14
14
15
15
func run () (err error ) {
Original file line number Diff line number Diff line change 9
9
"os/signal"
10
10
"syscall"
11
11
12
- "github.com/nats-io/nats.go"
13
12
server "github.com/bytecodealliance/wrpc/examples/go/hello-server/bindings"
14
13
wrpcnats "github.com/bytecodealliance/wrpc/go/nats"
14
+ "github.com/nats-io/nats.go"
15
15
)
16
16
17
17
type Handler struct {}
Original file line number Diff line number Diff line change 8
8
"log/slog"
9
9
"sync"
10
10
11
- "github.com/nats-io/nats.go"
12
11
wrpc "github.com/bytecodealliance/wrpc/go"
12
+ "github.com/nats-io/nats.go"
13
13
)
14
14
15
15
type headerKey struct {}
Original file line number Diff line number Diff line change @@ -10,12 +10,12 @@ import (
10
10
"testing"
11
11
"time"
12
12
13
- "github.com/nats-io/nats.go"
14
13
wrpcnats "github.com/bytecodealliance/wrpc/go/nats"
15
14
integration "github.com/bytecodealliance/wrpc/tests/go"
16
15
"github.com/bytecodealliance/wrpc/tests/go/bindings/async_client/wrpc_test/integration/async"
17
16
"github.com/bytecodealliance/wrpc/tests/go/bindings/async_server"
18
17
"github.com/bytecodealliance/wrpc/tests/go/internal"
18
+ "github.com/nats-io/nats.go"
19
19
)
20
20
21
21
func TestAsync (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -8,10 +8,10 @@ import (
8
8
"os/signal"
9
9
"syscall"
10
10
11
- "github.com/nats-io/nats.go"
12
11
wrpcnats "github.com/bytecodealliance/wrpc/go/nats"
13
12
integration "github.com/bytecodealliance/wrpc/tests/go"
14
13
"github.com/bytecodealliance/wrpc/tests/go/bindings/sync_server"
14
+ "github.com/nats-io/nats.go"
15
15
)
16
16
17
17
func run (url string ) error {
Original file line number Diff line number Diff line change 7
7
"fmt"
8
8
"sync"
9
9
10
- "github.com/google/uuid"
11
10
wrpc "github.com/bytecodealliance/wrpc/go"
12
11
"github.com/bytecodealliance/wrpc/tests/go/bindings/resources_server/exports/wrpc_test/integration/resources"
12
+ "github.com/google/uuid"
13
13
)
14
14
15
15
type Foo struct {
Original file line number Diff line number Diff line change @@ -8,14 +8,14 @@ import (
8
8
"testing"
9
9
"time"
10
10
11
- "github.com/nats-io/nats.go"
12
11
wrpc "github.com/bytecodealliance/wrpc/go"
13
12
wrpcnats "github.com/bytecodealliance/wrpc/go/nats"
14
13
integration "github.com/bytecodealliance/wrpc/tests/go"
15
14
"github.com/bytecodealliance/wrpc/tests/go/bindings/resources_client/strange"
16
15
"github.com/bytecodealliance/wrpc/tests/go/bindings/resources_client/wrpc_test/integration/resources"
17
16
"github.com/bytecodealliance/wrpc/tests/go/bindings/resources_server"
18
17
"github.com/bytecodealliance/wrpc/tests/go/internal"
18
+ "github.com/nats-io/nats.go"
19
19
)
20
20
21
21
func TestResources (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -9,14 +9,14 @@ import (
9
9
"testing"
10
10
"time"
11
11
12
- "github.com/nats-io/nats.go"
13
12
wrpc "github.com/bytecodealliance/wrpc/go"
14
13
wrpcnats "github.com/bytecodealliance/wrpc/go/nats"
15
14
integration "github.com/bytecodealliance/wrpc/tests/go"
16
15
"github.com/bytecodealliance/wrpc/tests/go/bindings/sync_client/foo"
17
16
"github.com/bytecodealliance/wrpc/tests/go/bindings/sync_client/wrpc_test/integration/sync"
18
17
"github.com/bytecodealliance/wrpc/tests/go/bindings/sync_server"
19
18
"github.com/bytecodealliance/wrpc/tests/go/internal"
19
+ "github.com/nats-io/nats.go"
20
20
)
21
21
22
22
func TestSync (t * testing.T ) {
You can’t perform that action at this time.
0 commit comments