resources

package
v3.0.9+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2017 License: MIT Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func History

func History(history dispatcher.History) func(w http.ResponseWriter, r *http.Request)

History returns history data

func Push

func Push(reg dispatcher.Registrar) func(w http.ResponseWriter, r *http.Request)

Push handler for push subscribers

func Stats

func Stats(dispatcher dispatcher.Dispatcher) func(w http.ResponseWriter, r *http.Request)

Stats returns subscriber stats

Types

type NotificationsPushHealthcheck

type NotificationsPushHealthcheck struct {
	Client         *http.Client
	ConsumerConfig consumer.QueueConfig
}

NotificationsPushHealthcheck is the main health check for the notifications-push service

func NewNotificationsPushHealthcheck

func NewNotificationsPushHealthcheck(consumerConfig consumer.QueueConfig) *NotificationsPushHealthcheck

NewNotificationsPushHealthcheck returns a new instance of NotificationsPushHealthcheck. It requires the configuration of the consumer queue.

func (*NotificationsPushHealthcheck) Check

Check is the the NotificationsPushHealthcheck method that checks is the queue proxies are available

func (*NotificationsPushHealthcheck) GTG

GTG is the HTTP handler function for the good-to-go endpoint of notifications-push

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL