Categorygithub.com/lowl11/boost
repositorypackage
0.9.8
Repository: https://github.com/lowl11/boost.git
Documentation: pkg.go.dev

# Packages

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

# 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

FeatureDescriptionStatus
LoggingStatic call of log functions from anywhere:white_check_mark:
ConfigGet environment & .yml config file from anywhere:white_check_mark:
ErrorsCustom errors with rich context:white_check_mark:
Easy controllersBase controller to easy returning responses:white_check_mark:
HTTP RequestsSending HTTP requests client with retries:white_check_mark:
WebsocketHandle websocket requests/connections:white_check_mark:
Request body validatorValidating incoming request body (JSON) based on go-playground validator:white_check_mark:
Health checkerHealth checking service (self-app + any other):white_check_mark:
CacheMemory & Redis cache client:white_check_mark:
RabbitMQ / MessageBusMessage bus pattern + RMQ support:white_check_mark:
KafkaKafka producer & consumers:white_check_mark:
DIDependency Injection:white_check_mark:
CronCron Job actions support:white_check_mark:
gRPCgRPC server & client support:white_check_mark:
DatabasePowerful query builders with run:white_check_mark:
SwaggerDefault static swagger route:white_check_mark:

TODO

  • gateway (proxy router)
  • Rate limiter