Versions in this module Expand all Collapse all v0 v0.1.1 Nov 10, 2020 v0.1.0 Nov 8, 2020 Changes in this version + type Config struct + Interfaces []string + MaxAge int + Port int + ProductName string + ProductVersion string + StatusFile string + func (a Config) Equal(b Config) bool + type SOAPHandleFunc func(types.SOAPVars) (soap.ResponseArguments, soap.Error) + type Server struct + func New(cfg Config, rootDesc *desc.RootDevice, svcDescs desc.ServiceMap) (srv *Server, err error) + func (me *Server) BootID() uint32 + func (me *Server) ConfigID() uint32 + func (me *Server) Connect() (err error) + func (me *Server) Disconnect() + func (me *Server) Errors() <-chan error + func (me *Server) HTTPHandleFunc(pattern string, handleFunc func(http.ResponseWriter, *http.Request)) + func (me *Server) Run(ctx context.Context, wg *sync.WaitGroup) + func (me *Server) SOAPHandleFunc(svcID string, act string, handler SOAPHandleFunc) + func (me *Server) ServerString() (s string) + func (me *Server) StateVariable(svcID, svName string) (sv *types.StatVar, exists bool)