package
module
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Jun 2, 2021
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
webutils
Utilities for develop web applications in Go.
Installation
Use go get
command to install webutils.
go get -u github.com/exepirit/webutils
Usage
You can find few examples in examples directory.
License
MIT
Documentation
¶
Hook is callback handler for applying on components asyncrhonious function side-effects.
NewHook creates new hook with specified action.
Proxy is an HTTP handler that forward incoming client request
and sends it to defined server.
Proxy replaces the prefix defined in PathPrefix by TargetAddr path.
NewProxy returns new Proxy that routes requests with prefix
to target server.
Source Files
¶
Directories
¶
examples
|
|
|
|
Click to show internal directories.
Click to hide internal directories.