wails/v3/examples/gin-service
Andrey Pshenkin 561473d992
[V3] Refactor binding transport layer (#4702)
* custom transport initial

* transport codecs

* runtime set transport

* events transport

* clauded example

* bundled runtime

* wip: transport

* rework transports

* rework dialog responses

* cleanup

* cleanup

* improve error handling in HTTPTransport

* cleanup

* cleanup

* cleanup

* cleanup

* review changes

* review changes

* review changes

* review changes

* review changes

* review changes

* review changes

* move documentation to website docs

* update doc

* update changelog

* introduce JSClient method for transport for embedding JS part in transport

---------

Co-authored-by: Atterpac <Capretta.Michael@gmail.com>
Co-authored-by: Lea Anthony <lea.anthony@gmail.com>
2025-12-07 22:19:12 +11:00
..
assets [v3] Typed Events, revisited (#4633) 2025-11-11 20:25:57 +11:00
services Refactor Manager API to use singular naming convention (#4367) 2025-06-22 12:19:14 +10:00
go.mod [V3] Refactor binding transport layer (#4702) 2025-12-07 22:19:12 +11:00
go.sum [V3] Refactor binding transport layer (#4702) 2025-12-07 22:19:12 +11:00
main.go Refactor Manager API to use singular naming convention (#4367) 2025-06-22 12:19:14 +10:00
README.md Update v3/examples/gin-service/README.md 2025-04-18 15:47:59 +10:00

Gin Service Example

This example demonstrates how to use the Gin web framework in a Wails Service.

Overview

This example shows how to:

  • Set up Gin as the asset handler for a Wails application
  • Create a middleware that routes requests between Wails and Gin
  • Define API endpoints with Gin
  • Communicate between the Gin-served frontend and Wails backend
  • Implement custom Gin middleware

Running the Example

Documentation

Please consult the Using Gin for Routing guide for a detailed explanation of the example.