gmbh

command
v0.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2019 License: MIT Imports: 10 Imported by: 0

README

Gimlet CLI

This tool starts a gimlet server. Right now it hangs onto the process and outputs debug info to stdOut.

Usage

In the main project directory run the gmbh command from terminal and a gimlet server will start.

Expected file directory for Gimlet project

/   gimlet/                   {gimlet_files}   services/                   {service folders w/ gmbh config file}

gimlet_files will be where the CLI looks to start the gmbh process. The gmbh process will then scan through the services directory looking for all subdirectories that have a gmbh config YAML file with the correct instructions.

Config file layout

This is preliminary and will change frequently during development.

name: <service_name>            # The name of the service
aliases: ["<other", "names>"]   # Any aliases you wish the service to be known as
language: go                    # The language of the service (now only in Golang)
makefile: true                  # Is there a makefile in the same directory as the config file?
pathtobin: ./bin/???            # Where does the makefile output the binary to?
isClient: true                  # Does this service call other services?
isServer: true                  # Can other services call this service?

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