storer

package
v0.0.0-...-0172641 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2020 License: GPL-3.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

View Source
const (
	//MaxTTLDiff The maximum lifetime of an event
	MaxTTLDiff = -1 * 168 * time.Hour //1 Week
)

Variables

This section is empty.

Functions

func RegisterMetrics

func RegisterMetrics()

RegisterMetrics registers metrics with prometheus

func Start

func Start(nats string, port int)

Start inits required processes

func StartGRPC

func StartGRPC(port int)

StartGRPC starts web http and grpc endpoint

func StartMonitor

func StartMonitor(nats string)

StartMonitor subscripts to all user channels

Types

This section is empty.

Directories

Path Synopsis
Package evntsrc_storer is a generated protocol buffer package.
Package evntsrc_storer is a generated protocol buffer package.
mock_protos
Package mock_protos is a generated GoMock package.
Package mock_protos is a generated GoMock package.

Jump to

Keyboard shortcuts

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