bootstrap

package module
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2020 License: Apache-2.0 Imports: 19 Imported by: 0

README

bootstrap-go

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 password encryption
  • 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

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