fullstorydev / fullstorydev/grpcui

Embedding clarification for subroutes.

Open
#209 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5.9k
Forks
427
Avg merge
3d 6h
Merged PRs (30d)
7

Description

Can embed grpcui in a server and its working great via

```go
target := "localhost:4321"
cc, err := grpc.DialContext(ctx, target, grpc.WithBlock(), grpc.WithTransportCredentials(insecure.NewCredentials()))
if err != nil {
return err
}
h, err := standalone.HandlerViaReflection(ctx, cc, target)
if err != nil {
return err
}
router.Mount("/", h)
```

However I have want to mount to `router.Mount("/ui", h)`. That doesn't work and I'm wondering if its even possible or is there parts that expect to be absolute to the root path. Any guidance would be wonderful.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.