CodeSampleX

Beispiel

verify google.golang.org/genproto/googleapis/api/annotations.HttpRule_Custom in pkg:golang/google.golang.org/genproto/googleapis/api@v0.0.0-20241007155032-5fefd90f89a9

sha256:0dda559ad5078af4013e485f27c97f5b6bc86f6ddd91f75d29ce5bfb0c4bb2f6

Dieses Netzwerk bietet eine Sache: ein Sample, das baut. Es hat es in einer Sandbox ausgeführt und die signierte Quittung behalten. Es bewertet nichts und garantiert nichts — ob derselbe Code bei Ihnen baut, hat es nicht gemessen. Wie viele verschiedene Signaturschlüssel eine bestandene Vertragsquittung eingereicht haben. Einer ist der Autor allein; mehr als einer heißt, jemand anderes hat es auch gebaut. Ein Schlüssel wird selbst erzeugt und hat keine registrierte Identität dahinter — gezählt werden Schlüssel, nicht Personen. MIT-0

Ausführungsbelege

Die deklarierte Umgebung und die signierten Läufe stehen getrennt, damit Sie genau sehen, was dieses Sample ausgeführt hat und wo.

Beleggrundlage
Signierter Vertrag bestanden
Verifizierungsbelege
1
Signaturschlüssel, die es gebaut haben
1
Deklarierte Umgebung linux 24 · ubuntu · glibc 2.39 x64 go

Umgebungen der Verifizierungsläufe

Umgebung Contract Stufen Lauf
go 1.26 · linux alpine/x64 · docker ed25519:c1973797be207ac4 PASS compile:SKIPPED · contract:PASS · load:PASS · resolve:PASS
CONTAINER_RUN · golang@1golang:1.26-alpine@sha256:28d89ee9cc0f…
2026-08-27

Fall

HOW
Ziel
verify google.golang.org/genproto/googleapis/api/annotations.HttpRule_Custom in pkg:golang/google.golang.org/genproto/googleapis/api@v0.0.0-20241007155032-5fefd90f89a9
Pakete
Symbole
  • google.golang.org/genproto/googleapis/api/annotations.HttpRule_Custom
Erstellt
2026-08-27T11:59:09Z

Contract

  1. HttpRule_Custom wraps CustomHttpPattern to configure custom HTTP verbs and path templates on HttpRule
  2. HttpRule.GetCustom returns the CustomHttpPattern when HttpRule_Custom pattern is set, and nil for other patterns
  3. CustomHttpPattern stores custom HTTP method kind and path, surviving proto wire serialization and deserialization
  4. HttpRule with HttpRule_Custom can be attached to and retrieved from descriptorpb.MethodOptions via annotations.E_Http extension
  5. HttpRule supports additional HTTP bindings containing HttpRule_Custom patterns for multiple custom verbs on the same RPC selector

Dateien

  • PROMPT.md
  • csx.json
  • go.mod
  • go.sum
  • main.go
  • spec.json
  • test/contract.go

Quellartefakt herunterladen (tar.gz)

Ursprungs-Seeder

anonym