Versions in this module Expand all Collapse all v1 v1.0.0 Aug 15, 2018 Changes in this version + const DefHtmlPage + const PortNum + func GetListener() (net.Listener, uint, error) + func HTMLPath(n ...string) string + func RegisterServiceWithSos(service string, port uint) error + func RegistersNecessaryPatterns(router *mux.Router) + func SetHTMLRoot(p ...string) + func StartServer(service *SosService) + func StartServiceServer(router *mux.Router, serviceName string, listener net.Listener, port uint) error + func UnregisterServiceWithSos(service string) error + type GetServiceResJson struct + Port uint + type RegisterReqJson struct + Port uint + Service string + type Registry map[string]uint + type SosServer struct + type SosService struct + func NewSosService() *SosService + func (s *SosService) Read(serviceName string) (uint, error) + func (s *SosService) Register(serviceName string, portNum uint) error + func (s *SosService) SnapshotRegistry() Registry + func (s *SosService) Unregister(serviceName string) + type UnRegisterReqJson struct + ServiceName string Incompatible versions in this module v4.0.0+incompatible Jan 27, 2019 v3.0.0+incompatible Nov 21, 2018 v2.0.0+incompatible Oct 1, 2018