server

package
v0.0.0-...-4da4744 Latest Latest
Warning

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

Go to latest
Published: Dec 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewServeMux

func NewServeMux(f license.Fetcher, rec recorder.Client, l logger.Logger) *http.ServeMux

NewServeMux returns a http.ServeMux as is used by server.Start()

func Start

func Start(host, port string,
	licenseURL *url.URL, apiKey string,
	segmentWriteKey string,
	l logger.Logger) error

Start initializes a new server listening on host:port.

Types

This section is empty.

Jump to

Keyboard shortcuts

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