httpServer

package
v0.0.0-...-632c06c Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2022 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WriteBufferSize = 0

Functions

This section is empty.

Types

type ProviderConnServerSide

type ProviderConnServerSide struct {
	TxChan chan []byte
	RxChan chan []byte
	ID     [24]byte
	// contains filtered or unexported fields
}

func (*ProviderConnServerSide) BoostingListener

func (pcn *ProviderConnServerSide) BoostingListener(connctx context.Context)

func (*ProviderConnServerSide) Close

func (pcn *ProviderConnServerSide) Close() error

func (*ProviderConnServerSide) Get

func (*ProviderConnServerSide) Post

func (pcn *ProviderConnServerSide) Post(rw http.ResponseWriter, r *http.Request, masker int64, ctx context.Context)

type ProviderServerSide

type ProviderServerSide struct {
	Uplistener transport.UnderlayTransportListener
	// contains filtered or unexported fields
}

func NewProviderServerSide

func NewProviderServerSide(listenaddr string, password string, Uplistener transport.UnderlayTransportListener, ctx context.Context) *ProviderServerSide

func (ProviderServerSide) ServeHTTP

func (pss ProviderServerSide) ServeHTTP(rw http.ResponseWriter, r *http.Request)

func (*ProviderServerSide) Start

func (pss *ProviderServerSide) Start()

func (*ProviderServerSide) StartAbs

func (pss *ProviderServerSide) StartAbs(AbsListener interfaces.AbstractListener)

Jump to

Keyboard shortcuts

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