Documentation
¶
Index ¶
Constants ¶
View Source
const ( // SubscribeTopicRoute defines Websocket path to subscribe and listen to a topic SubscribeTopicRoute = "/subscribe" // PublishToTopicRoute defines API path for publishing a message in a topic PublishToTopicRoute = "/topics/{topic_id}/messages/new" )
Variables ¶
View Source
var ( // Scheme ... Scheme string // Host ... Host string // Port ... Port string // BaseURL provides the complete host URL string BaseURL string )
Functions ¶
func ServiceRoutes ¶
ServiceRoutes defines the API routes and their handlers for the service
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.