Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type WebInterface ¶
type WebInterface struct { Clients map[int]*agent.Client ClientsLock *sync.Mutex Channels map[int]*agent.Channel ChannelsLock *sync.Mutex }
func NewWebInterface ¶
func NewWebInterface(address string, path string) *WebInterface
func (*WebInterface) AddChannel ¶
func (w *WebInterface) AddChannel(t agent.ChannelType, name string, topic string)
Click to show internal directories.
Click to hide internal directories.