Categorygithub.com/caesar-rocks/core
modulepackage
0.0.14
Repository: https://github.com/caesar-rocks/core.git
Documentation: pkg.go.dev

# README

📜 Caesar Core

Caesar is a Go web framework, designed for productivity. It takes inspiration from traditional web frameworks such as Ruby on Rails, Laravel, Django, Phoenix, AdonisJS, etc.

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
NewRouter creates a new router.
No description provided by the author
ServeStaticAssets returns a provider, which serves static assets from the embed.FS.
Validate validates the request body or form values.
ValidateEnvironmentVariables validates the environment variables, and panics if any of the environment variables aren't correctly set.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
BaseResourceController is a base controller for resources.
Context is a wrapper around http.ResponseWriter and *http.Request, that is augmented with some Caesar-specific methods.
No description provided by the author
No description provided by the author
Resource is the struct that holds the routes for a resource controller.
Route is a route that can be added to a Router.
Router is a router that can be used to add routes.

# Interfaces

ResourceController is an interface for a controller that handles CRUD operations.

# Type aliases

Handler is a function that can be used as middleware, or as a route handler.
ResourceControllerMethod is a type for the methods of a resource controller.