buf.build/gen/go/aistech/alex/grpc-ecosystem/gateway/v2 v2.18.1-20260727150644-90d1194b7e98.1
Go outbound socket connectionGo generated-code header comment
SHA-256cd22ff2d59666335d07c291883297a8636fa3571544626ded9b39ff8e7e10037
MaleculeH₂(Cm₂Db)Md(Bk)
Evidence
7:38… APIs.
8*/
9package helloworldv1gateway
10
11import (
12 "context"
13 "io"
14 "net/http"
15
16 "buf.build/gen/go/aistech/alex/grpc/go/atds/user/v1/userv1grpc"
17 extHelloworldv1 "buf.build/gen/go/aistech/alex/protocolbuffers/go/atds/helloworld/v1"
18 "github.com/grpc-ecosystem/grpc-gateway/v2/runtime"
19 "github.com/grpc-ecosystem/grpc-gateway/v2/utilities"
20 "google.golang.org/grpc"
21 "google.golang.org/grpc/codes"
22 "google.golang.org/grpc/grpclog"
23 "google.golang.org/grpc/metadata"
24 "google.golang.org/grpc/status"
25 "google.golang.org/protobuf/proto"
26)
27
28// Suppress "imported and not used" errors
29var _ codes.Code
30var _ io.Reader
31var _ status.Status
32var _ = runtime.String
33var …
54:5… (
55 filter_Helloworld_Hello_0 = &utilities.DoubleArray{Encoding: map[string]int{}, Base: []int(nil), Check: []int(nil)}
56)
57
58func request_Helloworld_Hello_0(ctx context.Context, marshaler runtime.Marshaler, cli …
228:93… int string, opts []grpc.DialOption) (err error) {
229 conn, err := grpc.DialContext(ctx, endpoint, opts...)
230 if err != nil {
231 return err
⋯4 lines
236:26… to close conn to %s: %v", endpoint, cerr)
237 }
238 return
239 }
240 go func() {
241 <-ctx.Done()
242 if cerr := conn.Close(); cerr != nil {
243 grpclog.Infof("Failed to close conn to %s: %v", endpoint, cerr …
⋯4 lines
431 )
432
433 val, ok = pathParams["user_id"]
434 if !ok {
435 return nil, metadata, status.Errorf(codes.InvalidArgument, "missing parameter %s", "user_id")
436 }
437
438 protoReq.UserId …
No evidence locations were recorded for this file. Raw result