# README
| |__ ___ ___ ___| |_ | '_ \ / _ \ / _ \/ __| __| | |_) | (_) | (_) \__ \ |_ |_.__/ \___/ \___/|___/\__|
Minimalist Go framework based on FastHTTP
Boosted Get Started
import (
"github.com/lowl11/boost"
"net/http"
)
func main() {
app := boost.New()
app.GET("/ping", func(ctx boost.Context) error {
return ctx.
Status(http.StatusOK).
String("pong")
})
app.GET("/hello", func(ctx boost.Context) error {
return ctx.Ok("world")
})
app.Run(":8080")
}
Features
Feature | Description | Status |
---|---|---|
Logging | Static call of log functions from anywhere | :white_check_mark: |
Config | Get environment & .yml config file from anywhere | :white_check_mark: |
Errors | Custom errors with rich context | :white_check_mark: |
Easy controllers | Base controller to easy returning responses | :white_check_mark: |
HTTP Requests | Sending HTTP requests client with retries | :white_check_mark: |
Websocket | Handle websocket requests/connections | :white_check_mark: |
Request body validator | Validating incoming request body (JSON) based on go-playground validator | :white_check_mark: |
Health checker | Health checking service (self-app + any other) | :white_check_mark: |
Cache | Memory & Redis cache client | :white_check_mark: |
RabbitMQ / MessageBus | Message bus pattern + RMQ support | :white_check_mark: |
Kafka | Kafka producer & consumers | :white_check_mark: |
DI | Dependency Injection | :white_check_mark: |
Cron | Cron Job actions support | :white_check_mark: |
gRPC | gRPC server & client support | :white_check_mark: |
Database | Powerful query builders with run | :white_check_mark: |
Swagger | Default static swagger route | :white_check_mark: |
TODO
- gateway (proxy router)
- Rate limiter
# Functions
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
Flag returns value of the given flag name.
FlagExist checks exist flag or not.
New method creates new instance of Boost App.
NewExplorer returns object of "Explorer" - File System Management service.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
Controller is boost controller interface.
No description provided by the author
Group is interface which will return after creating new group.
No description provided by the author
No description provided by the author
# Type aliases
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
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