Versions in this module Expand all Collapse all v0 v0.1.0 Nov 24, 2025 Changes in this version + type ErrorResponse struct + Code string + Error string + Message string + type Handler struct + func NewHandler(publisher *pubsub.Publisher, subscriptionManager *pubsub.SubscriptionManager, ...) *Handler + func (h *Handler) HandleHealth(w http.ResponseWriter, r *http.Request) + func (h *Handler) HandleListSubscriptions(w http.ResponseWriter, r *http.Request) + func (h *Handler) HandlePublish(w http.ResponseWriter, r *http.Request) + func (h *Handler) HandleSubscribe(w http.ResponseWriter, r *http.Request) + func (h *Handler) HandleUnsubscribe(w http.ResponseWriter, r *http.Request) + type PublishRequest struct + Data map[string]interface{} + Identifier string + TopicCode string + type SubscribeRequest struct + Identifier string + SubscriberID int64 + TopicCode string + type SuccessResponse struct + Data interface{} + Message string + Success bool