Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachPluginFactoryFunc ¶
type AttachedRecord ¶
type AttachedResource ¶ added in v0.0.5
type AttachedResource struct { ID string `json:"id"` When time.Time `json:"when"` Bridge string `json:"bridge"` Plugin string `json:"plugin"` Handle int64 `json:"handleID"` Summary interface{} `json:"summary,omitempty"` // contains filtered or unexported fields }
func NewAttachedResource ¶ added in v0.0.5
func NewAttachedResource(record *AttachedRecord) *AttachedResource
func (*AttachedResource) BridgeHTTPHandler ¶ added in v0.0.5
func (resource *AttachedResource) BridgeHTTPHandler() http.Handler
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) Resource ¶ added in v0.0.5
func (mcu *Client) Resource() *ClientResource
type ClientResource ¶ added in v0.0.5
type ClientResource struct { ID string `json:"id"` URI string `json:"uri"` Connected bool `json:"connected"` AttachedCount int `json:"attachedCount"` // contains filtered or unexported fields }
func (*ClientResource) Attached ¶ added in v0.0.5
func (resource *ClientResource) Attached(id string) []*AttachedResource
type Options ¶
type Options struct { Config *config.Config Logger logrus.FieldLogger HTTPClient *http.Client AttachPluginFactoryFunc AttachPluginFactoryFunc }
Click to show internal directories.
Click to hide internal directories.