listen

command module
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: May 25, 2018 License: MIT Imports: 11 Imported by: 0

README

listen

pipeline status travis-ci build status

A simple go-micro web service that listens to incoming webhooks and sends out events over specified topics.

Auto-generated with

micro new gitlab.com/gitmate-micro/listen --namespace=gitmate.micro --type=web

Getting Started

Configuration

  • FQDN: gitmate.micro.web.listen
  • Type: web
  • Alias: listen

Dependencies

Micro services depend on service discovery. The default is consul.

# install consul
brew install consul

# run consul
consul agent -dev

Usage

A Makefile is included for convenience

Build the binary

make build

Run the service

./listen

Build a docker image

make docker
With docker compose

Build the docker-compose network

docker-compose up -d

Releases

The binaries built are delivered via TravisCI using goreleaser. Latest releases are available here.

Images / Container Registry

For released images, please visit the GitLab Container Registy for this repository here.

To run the latest image, pull it with docker

# login to gitlab container registry with your credentials
docker login registry.gitlab.com

# run the container locally exposing port 8000
make run-docker

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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