5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-04 01:00:21 +08:00
wails/v3/examples/gin-service
Lea Anthony 1f5e9852e4
Update v3/examples/gin-service/services/gin_service.go
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
2025-04-18 15:49:41 +10:00
..
assets Update docs + examples. 2025-03-11 21:06:57 +11:00
services Update v3/examples/gin-service/services/gin_service.go 2025-04-18 15:49:41 +10:00
go.mod Update docs + examples. 2025-03-11 08:50:03 +11:00
go.sum Update docs + examples. 2025-03-11 08:50:03 +11:00
main.go Update docs + examples. 2025-03-11 08:50:03 +11: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.