stream

package
v2.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server struct {
	Listen          string
	StatusZone      string
	ProxyPass       string
	Pass            string
	RewriteClientIP shared.RewriteClientIPSettings
	SSLPreread      bool
	IsSocket        bool
}

Server holds all configuration for a stream server.

type ServerConfig

type ServerConfig struct {
	Servers  []Server
	IPFamily shared.IPFamily
	Plus     bool
}

ServerConfig holds configuration for a stream server and IP family to be used by NGINX.

type Upstream

type Upstream struct {
	Name      string
	ZoneSize  string // format: 512k, 1m
	StateFile string
	Servers   []UpstreamServer
}

Upstream holds all configuration for a stream upstream.

type UpstreamServer

type UpstreamServer struct {
	Address string
}

UpstreamServer holds all configuration for a stream upstream server.

Jump to

Keyboard shortcuts

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