Skip to content

examples: add TLS transport examples#244

Merged
WineChord merged 1 commit into
trpc-group:mainfrom
Rememorio:add_tls_examples
Jun 24, 2026
Merged

examples: add TLS transport examples#244
WineChord merged 1 commit into
trpc-group:mainfrom
Rememorio:add_tls_examples

Conversation

@Rememorio

@Rememorio Rememorio commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add HTTPS examples for direct code clients, YAML clients, and custom TLS certificate providers.
  • Add mTLS client/server examples using public testdata packages.
  • Reuse existing repository test certificates instead of adding duplicate certificate files.

Tests

  • go test ./features/https/... ./features/mtls/... -count=1 from examples/
  • go test ./... -count=1 from examples/
  • git diff --check main...HEAD
  • Scanned changed files for internal-only links and local paths

@WineChord WineChord left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@WineChord WineChord merged commit 42ac657 into trpc-group:main Jun 24, 2026
6 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants