package http
import "go.dedis.ch/dela/mino/proxy/http"
Index ¶
Functions ¶
func NewHTTP ¶
NewHTTP creates a new proxy http
Types ¶
type HTTP ¶
type HTTP struct {
// contains filtered or unexported fields
}
HTTP defines a proxy http
- implements proxy.Proxy
func (HTTP) GetAddr ¶
GetAddr implements proxy.Proxy.
func (*HTTP) Listen ¶
func (h *HTTP) Listen()
Listen implements proxy.Proxy. This function can be called multiple times provided the server is not running, ie. Stop() has been called.
func (HTTP) RegisterHandler ¶
RegisterHandler implements proxy.Proxy
func (HTTP) Stop ¶
func (h HTTP) Stop()
Stop implements proxy.Proxy. It should be called only once in order to make a new Listen() successful.
Source Files ¶
mod.go
Directories ¶
Path | Synopsis |
---|---|
mino/proxy/http/controller |
- Version
- v0.1.0 (latest)
- Published
- Apr 10, 2024
- Platform
- linux/amd64
- Imports
- 9 packages
- Last checked
- 1 month ago –
Tools for package owners.