servicer

package module
v0.0.0-...-7644005 Latest Latest
Warning

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

Go to latest
Published: May 31, 2017 License: GPL-3.0 Imports: 19 Imported by: 3

README

servicer

A tiny framework for launching various components of micro-service based application.

reportcard build godoc

example

See gomatic/service-example and gomatic/gateway

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorFunc

func ErrorFunc(err error) cli.ActionFunc

ErrorFunc type.

func Main

func Main(configure ConfigFunc)

Main entry-point for servicers.

Types

type Config

type Config func(*cli.App) error

Config type.

type ConfigFunc

type ConfigFunc func(*cli.App) cli.ActionFunc

ConfigFunc type.

type Settings

type Settings struct {
	Bind string
	Api  host
	Rpc  host

	Dns struct {
		Namespace, Domain string
	}

	Name      string
	Container string
	Version   string

	Timeout struct {
		Read, Write time.Duration
	}

	Output struct {
		Mocking   bool
		Debugging bool
		Verbose   bool
	}
}

Settings for the servicers.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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