Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpListener ¶
type HttpListener struct { Interface string UIPath string Started bool Mux *http.ServeMux OnData func(map[string]interface{}, http.ResponseWriter) }
func Init ¶
func Init(config map[string]interface{}, ondata func(map[string]interface{}, http.ResponseWriter)) (*HttpListener, error)
func (*HttpListener) IsRunning ¶
func (listener *HttpListener) IsRunning() bool
func (*HttpListener) Start ¶
func (listener *HttpListener) Start()
func (*HttpListener) Stop ¶
func (listener *HttpListener) Stop()
Click to show internal directories.
Click to hide internal directories.