Benign go Download

buf.build/gen/go/aistech/alex/grpc-ecosystem/gateway/v2 v2.18.1-20260727150644-90d1194b7e98.1

Go outbound socket connectionGo generated-code header comment

Evidence

imports buf.build/gen/go/aistech/alex/grpc/go/atds/user/v1/userv1grpc helloworld.pb.gw.go · lines 7–33
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 …
Go constructs a string-keyed integer map helloworld.pb.gw.go · lines 54–58
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 …
Go dialer context connection call helloworld.pb.gw.go · lines 228–235
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
Go goroutine launch call helloworld.pb.gw.go · lines 236–243
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 …
Quoted user identifier label user.pb.gw.go · lines 427–438
⋯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

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.