Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InitWebhooks ¶
func InitWebhooks(config configuration.Config, connector *platform_connector_lib.Connector, logger connectionlog.Logger, handlers []handler.Handler, connectionLimit *connectionlimit.ConnectionLimitHandler) *http.Server
Types ¶
type DisconnectWebhookMsg ¶
type DisconnectWebhookMsg struct {
ClientId string `json:"client_id"`
}
type LoginWebhookMsg ¶
type OnlineWebhookMsg ¶
type OnlineWebhookMsg struct {
ClientId string `json:"client_id"`
}
type PublishWebhookMsg ¶
type SubscribeWebhookMsg ¶
type SubscribeWebhookMsg struct { Username string `json:"username"` ClientId string `json:"client_id"` Topics []WebhookmsgTopic `json:"topics"` }
type UnsubscribeWebhookMsg ¶
type WebhookmsgTopic ¶
Click to show internal directories.
Click to hide internal directories.