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

# 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

# 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
nolint:gocritic.

# 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

# Structs

App is Boost application to run application.
Config is model of App configuration.

# 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