reception

package module
v0.0.0-...-d0f8d21 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2023 License: MIT Imports: 3 Imported by: 0

README

reception

A routing gateway, used to proxy different domain names bound on the same IP to the corresponding backend server

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reception

type Reception struct {
	// contains filtered or unexported fields
}

func New

func New() *Reception

func (*Reception) AddSwitch

func (x *Reception) AddSwitch(host string, transfer string, ssl bool) error

AddSwitch @url and transfer string will be parsed here, host example: example.com ,transfer example: https://www.example.com

func (*Reception) Serve

func (x *Reception) Serve()

func (*Reception) SetPort

func (x *Reception) SetPort(port int)

func (*Reception) SetSPort

func (x *Reception) SetSPort(sport int)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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