Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CodecProto ¶
type CodecProto struct{}
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
func (*Server) GetConnections ¶
func (s *Server) GetConnections() []*ServerConnection
GetConnections returns a list of all active connections
type ServerConfig ¶
type ServerConnection ¶
type ServerConnection struct {
// contains filtered or unexported fields
}
ServerConnection represents a connection to a client
func (*ServerConnection) GetInfo ¶
func (s *ServerConnection) GetInfo() map[string]string
GetInfo returns the device metadata
func (*ServerConnection) GetSerial ¶
func (s *ServerConnection) GetSerial() *string
GetSerial returns the serial number of the device or nil if the serial number is not yet known
type UnsubscribeFunc ¶
type UnsubscribeFunc func()
Click to show internal directories.
Click to hide internal directories.