Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Channel ¶
type Channel struct {
// contains filtered or unexported fields
}
func NewChannel ¶
func NewChannel(connection *Connection, sourceID string, destinationID string, namespace string) *Channel
type Connection ¶
type Connection struct { Responses map[int]chan Message Events EventBus.Bus // contains filtered or unexported fields }
func NewConnection ¶
func NewConnection(dnsEntry DNSEntry) *Connection
func (*Connection) Close ¶
func (c *Connection) Close() error
func (*Connection) Connect ¶
func (c *Connection) Connect() error
func (*Connection) Send ¶
func (c *Connection) Send(requestID int, message *protobuf.CastMessage) (chan Message, error)
type DNSEntry ¶
type DNSEntry struct { AddressV4 net.IP AddressV6 net.IP Port int Name string Host string UUID string Device string Status string DeviceName string InfoFields map[string]string }
func GetAllEntries ¶
func GetAllEntries() []DNSEntry
type Message ¶
type Message struct { CastMessage *protobuf.CastMessage Payload *messages.PayloadHeader }
Click to show internal directories.
Click to hide internal directories.