package
module
Version:
v0.0.0-...-2bb523c
Opens a new window with list of versions in this module.
Published: May 2, 2016
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Listen will listen to all publication for registration from registry
Register will register one service
type Service struct {
Name string `json:"name"`
Hostname string `json:"hostname"`
Protocol string `json:"protocol"`
Port int `json:"port"`
}
Service represents a service that we want to register. It should hold all information need to be able to be used by another service
Source Files
¶
Click to show internal directories.
Click to hide internal directories.