Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Advertisement ¶
type Advertisement interface {
Clear()
}
type Advertiser ¶
type Advertiser interface {
Advertise(c *Capabilities) (Advertisement, error)
}
type BusConnection ¶
type BusConnection struct {
// contains filtered or unexported fields
}
func InitBusConnection ¶
func InitBusConnection(env *core.Env) (*BusConnection, error)
func (*BusConnection) Advertise ¶
func (c *BusConnection) Advertise(cp *Capabilities) (Advertisement, error)
func (*BusConnection) BrowseCapabilities ¶
func (b *BusConnection) BrowseCapabilities() []*Capabilities
type BusListener ¶
type BusListener struct {
// contains filtered or unexported fields
}
type Capabilities ¶
type Capabilities struct { Endpoint string `json:"endpoint" cbor:"1,keyasint"` Method string `json:"method" cbor:"2,keyasint"` Tags map[string][]string `json:"tags" cbor:"3,keyasint"` }
func (*Capabilities) Id ¶
func (c *Capabilities) Id() (string, error)
Calculate a secure identifier for the capabilites based on it's content.
type Request ¶
Click to show internal directories.
Click to hide internal directories.