server

package
v0.0.0-rc0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2023 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start

func Start(cfg *Config, authChecker auth.Checker)

func StartMetrics added in v0.1.10

func StartMetrics(cfg *MetricsConfig)

Types

type Config

type Config struct {
	Port             int
	CertFile         string
	PrivateKeyFile   string
	CORSAllowOrigin  string
	CORSAllowMethods string
	CORSAllowHeaders string
	CORSMaxAge       string
	Loki             loki.Config
	FrontendConfig   string
}

type MetricsConfig added in v0.1.10

type MetricsConfig struct {
	Port           int
	CertFile       string
	PrivateKeyFile string
}

Jump to

Keyboard shortcuts

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