Documentation ¶
Index ¶
- Variables
- type ProviderConnServerSide
- func (pcn *ProviderConnServerSide) BoostingListener(connctx context.Context)
- func (pcn *ProviderConnServerSide) Close() error
- func (pcn *ProviderConnServerSide) Get(rw http.ResponseWriter, r *http.Request, masker int64, ctx context.Context)
- func (pcn *ProviderConnServerSide) Post(rw http.ResponseWriter, r *http.Request, masker int64, ctx context.Context)
- type ProviderServerSide
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 (pcn *ProviderConnServerSide) Get(rw http.ResponseWriter, r *http.Request, masker int64, ctx context.Context)
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)
Click to show internal directories.
Click to hide internal directories.