5
0
mirror of https://github.com/wailsapp/wails.git synced 2025-05-12 06:59:30 +08:00
wails/v3/internal/generator
Atterpac e316cd0719
[V3] Plugins implemenations (#3570)
* plugin handler and lifecycle

* rebase

* remove reflect

s

* remove Config and NewPlugin from plugin template

* Remove plugin manager, generation of plugin interface

* implement http handlers for services

remove log

trim path

prefix wails/services

* update plugine example

* Misc updates

* Ported plugins to services, rewritten example

* Added fileserver

* Update OnStartup and use a context for the application

* Rename PathPrefix to Route. Create docs.

* Use service config copy. Add Name to Service Options. Improve service generation.

* Use service config copy. Add Name to Service Options. Improve service generation. Update README

* Remove rogue db

* Update changelog.md

---------

Co-authored-by: Lea O'Anthony <lea.anthony@gmail.com>
2024-09-01 17:26:22 +10:00
..
collect [V3] Plugins implemenations (#3570) 2024-09-01 17:26:22 +10:00
config [v3] New binding generator (#3468) 2024-05-19 20:40:44 +10:00
render [v3] Enforce stricter typing for generated bindings (#3498) 2024-05-19 23:28:45 +10:00
testcases [v3] New binding generator (#3468) 2024-05-19 20:40:44 +10:00
testdata [v3] Enforce stricter typing for generated bindings (#3498) 2024-05-19 23:28:45 +10:00
.gitignore [v3] New binding generator (#3468) 2024-05-19 20:40:44 +10:00
analyse_test.go [v3] New binding generator (#3468) 2024-05-19 20:40:44 +10:00
analyse.go [V3] Plugins implemenations (#3570) 2024-09-01 17:26:22 +10:00
constants_test.go [v3] New binding generator (#3468) 2024-05-19 20:40:44 +10:00
constants.go [v3] New binding generator (#3468) 2024-05-19 20:40:44 +10:00
errors.go [v3] New binding generator (#3468) 2024-05-19 20:40:44 +10:00
generate_test.go [v3] New binding generator (#3468) 2024-05-19 20:40:44 +10:00
generate.go [v3] New binding generator (#3468) 2024-05-19 20:40:44 +10:00
includes.go [v3] New binding generator (#3468) 2024-05-19 20:40:44 +10:00
index.go [v3] New binding generator (#3468) 2024-05-19 20:40:44 +10:00
load.go [v3] New binding generator (#3468) 2024-05-19 20:40:44 +10:00
models.go [v3] New binding generator (#3468) 2024-05-19 20:40:44 +10:00
README.md [v3] New binding generator (#3468) 2024-05-19 20:40:44 +10:00
service.go [v3] New binding generator (#3468) 2024-05-19 20:40:44 +10:00
Taskfile.yaml [v3] New binding generator (#3468) 2024-05-19 20:40:44 +10:00

Generator

This package contains the static analyser used for parsing Wails projects so that we may:

  • Generate the bindings for the frontend
  • Generate Typescript definitions for the structs used by the bindings