-
Notifications
You must be signed in to change notification settings - Fork 0
/
doc.go
29 lines (20 loc) · 855 Bytes
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Copyright © 2015 Jason Smith <[email protected]>.
//
// Use of this source code is governed by the LGPL-3
// license that can be found in the LICENSE file.
/*
The herald package is intended to provide the tools to make your
microservice public to other declared microservices.
This tool facilitates two functions.
Pool
The pool interface allows the microservice to support many API routers through
a pool registry.
Declaration
The declaration interface allows the microservice to declare itself in a registry
of services, so other services can consume that configuration and automate
common actions. By utilizing a Declaration registry a microservice can support
many systems.
A package can support one or both of the interfaces, and the interface to be
used will be determined by environment variables or flags.
*/
package herald