https://github.com/russellluo/appx
An application framework that makes it easy to build pluggable and reusable applications.
https://github.com/russellluo/appx
golang pluggable-modules
Last synced: about 1 year ago
JSON representation
An application framework that makes it easy to build pluggable and reusable applications.
- Host: GitHub
- URL: https://github.com/russellluo/appx
- Owner: RussellLuo
- License: mit
- Created: 2020-07-25T12:52:43.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-07T02:30:58.000Z (almost 2 years ago)
- Last Synced: 2025-03-22T14:41:29.282Z (about 1 year ago)
- Topics: golang, pluggable-modules
- Language: Go
- Homepage: https://pkg.go.dev/mod/github.com/RussellLuo/appx
- Size: 80.1 KB
- Stars: 3
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# appx
An application framework that makes it easy to build pluggable and reusable applications.
## Installation
```bash
$ go get -u github.com/RussellLuo/appx
```
## Application Lifecycle
Simple Application:
```
+-------+ +-------+
(BEGIN) --> | Init | --> (WORKING) --> | Clean | --> (END)
+-------+ +-------+
```
Runnable Application:
```
+-------+ +-------+ +-------+ +-------+
(BEGIN) --> | Init | --> | Start | --> (RUNNING) --> | Stop | --> | Clean | --> (END)
+-------+ +-------+ +-------+ +-------+
```
## Examples
- [Basic usage](example_test.go)
- [HTTP applications][1]
- [HTTP applications][2] ([Gin][3]-based)
- [CRON applications][4]
## Documentation
Checkout the [Godoc][5].
## License
[MIT](LICENSE)
[1]: https://github.com/RussellLuo/kok/blob/master/pkg/appx/httpapp/example_test.go
[2]: https://gist.github.com/RussellLuo/5e706323e215bd8cb840cb7ae6aabae7
[3]: https://github.com/gin-gonic/gin
[4]: https://github.com/RussellLuo/kok/blob/master/pkg/appx/cronapp/example_test.go
[5]: https://pkg.go.dev/mod/github.com/RussellLuo/appx