[HN Gopher] Show HN: Fully-featured desktop gRPC/gRPC-Web client
       ___________________________________________________________________
        
       Show HN: Fully-featured desktop gRPC/gRPC-Web client
        
       Author : notmedia
       Score  : 14 points
       Date   : 2022-11-07 18:11 UTC (4 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | jrockway wrote:
       | I decided to give it a try. It wants you to select your "proto
       | path" as a first step. Mine is a directory; we have something
       | like src/ and then subsystems' proto files live in
       | src/subsystem/subsystem.proto and import each other with 'import
       | subsystem/subsystem.proto'. It didn't let me pick a directory
       | with the file checker, nor did it let me just type a directory
       | name, so that's annoying.
       | 
       | I picked one of the subsystems at random and it fails to import
       | gogo's proto files. Yeah, that's always an annoyance, I guess you
       | have to "go mod download" and add the correct path under
       | ~/go/pkg/mod/... to locate that for it.
       | 
       | I couldn't figure out how to let it connect to my server and just
       | autodiscover the protos like grpcurl does. At this point I gave
       | up. I usually just make a main.go somewhere that does cc :=
       | grpc.Dial(...); res, err :=
       | whatever.FooClient(cc).Method(&whatever.Request{...});
       | fmt.Println(res, err) when I want to test something, so I doubt
       | I'd integrate this with my workflow anyway.
        
       ___________________________________________________________________
       (page generated 2022-11-07 23:01 UTC)