server

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2022 License: Apache-2.0 Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunServer

func RunServer(
	c Config,
	logger log.Logger,
	nr *newrelic.Application,
	templateService v1beta1.TemplateService,
	ruleService v1beta1.RuleService,
	alertService v1beta1.AlertService,
	providerService v1beta1.ProviderService,
	namespaceService v1beta1.NamespaceService,
	receiverService v1beta1.ReceiverService,
	subscriptionService v1beta1.SubscriptionService) error

RunServer runs the application server

Types

type Config

type Config struct {
	Host string `mapstructure:"host" default:"localhost"`
	Port int    `mapstructure:"port" default:"8080"`
}

Directories

Path Synopsis
proto
odpf/siren/v1beta1
Package sirenv1beta1 is a reverse proxy.
Package sirenv1beta1 is a reverse proxy.

Jump to

Keyboard shortcuts

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