Skip to content
A set of core functionality and convenience structs for a Golang microservice
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
auth refactor: use a switch statement instead of if/else Feb 7, 2019
env Proposed a new structure for embedding transport into core Apr 16, 2018
keys fix: the string source should error if the string is empty Feb 8, 2019
pagination Changed pagination error handling so that it no longer returns an err… Jul 10, 2018
response missing error handling in extract data Aug 21, 2018
tracing feat: add a tracing package for performing request tracing Feb 7, 2019
transport feat: add a complete domain name function to resource Oct 4, 2018
vendor add grpc dependency to microservice core Feb 6, 2019
.gitignore
.travis.yml update install for golint Apr 23, 2018
Gopkg.lock add grpc dependency to microservice core Feb 6, 2019
Gopkg.toml chore: update dependencies and add github.com/pborman/uuid Nov 20, 2018
LICENSE Create LICENSE Aug 22, 2017
README.md added deprecation warning Mar 26, 2019
info.go Proposed a new structure for embedding transport into core Apr 16, 2018
info_test.go Feature/refactor (#3) Aug 1, 2017

README.md

DEPRECATED: Please use the new LUSHDigital/core library

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

You can’t perform that action at this time.