bootstrap

package module
v1.2.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 18, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

README

bootstrap-go

made-with-Go GoDoc Go Report Card License Documentation

go application bootstrap library to quickstart your application development while the library sets up everything your application needs to be 12factor compliant This is a wip library with more features coming.

Current features in v1

  • argon2
  • SHA-256
  • jwt support with cookie tokens
  • MySQL and postgres connection pooling
  • file source based config store with change watchers
  • remote config store support with change watchers
    • supported stores etcd,consulkv,firebase
  • Logrus logging support with following hooks
    • File
    • Graylog
    • Logstash
  • configurable route builder for rest endpoints.
    • currently only secure and insecure route configuration available
  • Profiling With PProf Http Endpoints. Refer Docs

Pending proposed features

  • opentracing support
  • caching local + remote
  • opentelemetry support
  • nosql support
  • http based config store with change watcher
    • pluggable with spring cloud config, custom http endpoint for starters
    • pluggable custom change watchers
  • additional SQL databases connection pooling support
  • and more

Known Issues

  • Some Instances Reported App Freezing During Heavy Load While Using Logstash Plugin. under analysis

Note: Jwt Support Has Been Removed Due to Vulnerability. Will Replace With New Implementation Soon

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init() (*model.AppServer, *model.Router)

Init For App Initializations

func StartServer

func StartServer(appserver *model.AppServer, router *model.Router)

StartServer Post PreConfigurations

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL