modulepackage
0.0.0-20230914025036-6f53790232b2
Repository: https://github.com/govel-framework/govel.git
Documentation: pkg.go.dev
# README
Govel
Govel is a lightweight and robust web framework for Go designed to provide only the essential code you need. Please note that this framework is still in development.
Features
- Minimalistic design: Govel aims to provide a minimalistic codebase, allowing you to add only the features you require for your project.
- Robustness: Despite its simplicity, Govel is built to be reliable and handle common web application tasks efficiently.
- Extensible: You can easily extend the framework by adding your own middleware, routing, and other components.
Examples
For usage examples of Govel, please visit our example repository.
We also encourage you to explore the example code to understand how to leverage the framework's capabilities in your own projects.
# Functions
No description provided by the author
No description provided by the author
GetKeyFromYAML returns the value of the key from the YAML config file.
Group Creates a new group.
InitModules will add the modules to the framework.
LoadConfigFile reads the .yaml file and starts the web server based on its configuration.
LoadConfigFileForTests returns a test model for testing.
No description provided by the author
No description provided by the author
Gets route's url by its name.
Sets a "404 url not found" function.
Sets global middlewares.
Sets a general "method not allowed" function.
Sets a general "handle panic" function.
# Constants
ContinueRequest and StopRequest are aliases in every sense of 0 and 1, used to indicate whether to continue or stop a request.
ContinueRequest and StopRequest are aliases in every sense of 0 and 1, used to indicate whether to continue or stop a request.
# Variables
Store is the session store.