Skip to content

examples: add HTTP feature examples#241

Merged
WineChord merged 3 commits into
trpc-group:mainfrom
Rememorio:add_http_examples
Jun 26, 2026
Merged

examples: add HTTP feature examples#241
WineChord merged 3 commits into
trpc-group:mainfrom
Rememorio:add_http_examples

Conversation

@Rememorio

@Rememorio Rememorio commented Jun 22, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Add HTTP client/server examples for standard HTTP service usage.
  • Add HTTP RPC and FastHTTP RPC examples with generated public proto stubs.
  • Add FastHTTP mux and RESTful mux-filter examples.
  • Keep TLS-specific examples out of this PR so they can be reviewed separately.

Tests

  • go test ./features/http/... ./features/httprpc/... ./features/fasthttprpc/... ./features/fasthttpmux/... ./features/restful/... -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

@Rememorio Rememorio force-pushed the add_http_examples branch from 6547043 to 9da70e4 Compare June 22, 2026 06:18

@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 9b5c63e into trpc-group:main Jun 26, 2026
6 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 26, 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