lingress

package module
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2023 License: MIT Imports: 17 Imported by: 0

README

lingress

Is an experemtary ingress controller.

WARNING: This project is still under heavy development. Everything could still change.

Contributing

lingress is an open source project by echocat. So if you want to make this project even better, you can contribute to this project on Github by fork us.

If you commit code to this project, you have to accept that this code will be released under the license of this project.

License

See the LICENSE file.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ConnectionStates added in v0.1.19

type ConnectionStates struct {
	New    uint64
	Active uint64
	Idle   uint64
}

type Lingress

type Lingress struct {
	RulesRepository    rules.CombinedRepository
	Proxy              *proxy.Proxy
	Fallback           *fallback.Fallback
	Management         *management.Management
	Http               *server.HttpConnector
	Https              *server.HttpConnector
	AccessLogQueueSize uint16
	InlineAccessLog    bool
	// contains filtered or unexported fields
}

func New

func New(fps support.FileProviders) (*Lingress, error)

func (*Lingress) Init

func (instance *Lingress) Init(stop support.Channel) error

func (*Lingress) OnConnState added in v0.2.0

func (instance *Lingress) OnConnState(connector server.Connector, conn net.Conn, state http.ConnState)

func (*Lingress) RegisterFlag

func (instance *Lingress) RegisterFlag(fe support.FlagEnabled, appPrefix string) error

func (*Lingress) ServeHTTP added in v0.1.19

func (instance *Lingress) ServeHTTP(connector server.Connector, resp http.ResponseWriter, req *http.Request)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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