Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Version ¶
func Version(req httphandler.Request) httphandler.Response
Version returns the servers version
Types ¶
type RequestController ¶
type RequestController struct {
// contains filtered or unexported fields
}
func NewRequestController ¶
func NewRequestController(domain string, clients *clients.ClientService, pubsub pubsub.PubSubInterface, limiter *limiter.Limiter) *RequestController
func (*RequestController) Handle ¶
func (s *RequestController) Handle(w http.ResponseWriter, r *http.Request, params httprouter.Params)
type SubscribeController ¶
type SubscribeController struct {
// contains filtered or unexported fields
}
func NewSubscribeController ¶
func NewSubscribeController(domain string, clients *clients.ClientService, pubsub pubsub.PubSubInterface) *SubscribeController
func (*SubscribeController) SubscribeHandler ¶
func (c *SubscribeController) SubscribeHandler(w http.ResponseWriter, r *http.Request, _ httprouter.Params)
Click to show internal directories.
Click to hide internal directories.