Categorygithub.com/firekitz/fk-lib-bootstrap-go
repositorypackage
1.0.0
Repository: https://github.com/firekitz/fk-lib-bootstrap-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

dtx-lib-bootstrap-go

A library to increase the reliability of running and shutting down Go applications.

Usage

package main

import (
	"bitbucket.org/weltcorp/dtx-lib-bootstrap-go"
	"context"
)

func main() {
	ctx := context.Background()

	shutdowns := config.Setup(ctx)
	
	// Example
	go GrpcServer()
	go GatewayServer()

	// ...

	dtxBootstrap.GracefulShutdown(shutdowns)
}