Categorygithub.com/lushdigital/microservice-core-golang
repositorypackage
3.5.0+incompatible
Repository: https://github.com/lushdigital/microservice-core-golang.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

# README

Lush Digital - Micro Service Core (Golang) License Go Report Card Build Status

A set of core functionality and convenience structs for a Golang microservice

Description

This package is intended to provide a quick and easy bootstrap of functionality that a micro service is expected to provide. This includes an information route that could be used by a service registry, it also includes a health check route to verify your microservice is working.

The package also contains some convenience classes to help develop microservices.

Package Contents

  • Route struct for use with HTTP routing
  • Response struct to provide a standardised response format for endpoints
  • JSON response formatter
  • Info struct to provide meta data for your service
  • Helper function to retrieve and ensure environment variables.

Installation

Install the package as normal:

$ go get -u github.com/LUSHDigital/microservice-core-golang

Documentation