server

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Overview

Package server implements the Transiter server process.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, args RunArgs) error

Types

type RunArgs

type RunArgs struct {
	PublicHTTPAddr        string
	PublicGrpcAddr        string
	AdminHTTPAddr         string
	AdminGrpcAddr         string
	PostgresConnStr       string
	MaxConnections        int32
	DisableScheduler      bool
	DisablePublicMetrics  bool
	EnablePprof           bool
	ReadOnly              bool
	MaxEntitiesPerRequest int32
	LogLevel              slog.Level
}

Jump to

Keyboard shortcuts

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