Documentation ¶
Index ¶
Constants ¶
View Source
const ( CHAN_SLACK = 10000 DeviceUpdateDuration = 1 * time.Hour Listen = "/input" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpListenerMetric ¶
type HttpListenerMetric struct { Messages go_metrics.Meter Errors go_metrics.Meter }
type KentikHttpListener ¶
func NewHttpListener ¶
func NewHttpListener(ctx context.Context, host string, log logger.Underlying, registry go_metrics.Registry, jchfChan chan []*kt.JCHF, apic *api.KentikApi) (*KentikHttpListener, error)
func (*KentikHttpListener) Close ¶
func (ks *KentikHttpListener) Close()
func (*KentikHttpListener) HttpInfo ¶
func (ks *KentikHttpListener) HttpInfo() map[string]float64
func (*KentikHttpListener) RegisterRoutes ¶
func (ks *KentikHttpListener) RegisterRoutes(r *kmux.Router)
Click to show internal directories.
Click to hide internal directories.