Documentation ¶
Index ¶
Constants ¶
View Source
const ( RelativePathToProjectRoot = "../../" HtmlSuffix = ".html" CssSuffix = ".css" JsSuffix = ".js" JsonSuffix = ".json" VendorsPath = "/vendors" DataPathPrefix = "/data" StaticDirName = "static" LoginUriPath = "/api/v1/auth/login" LoginHtmlPage = "/login.html" NoAuthorizationMsg = "no authorization." AjaxRequestIdentifier = "XMLHttpRequest" AjaxRequestHeader = "X-Requested-With" )
View Source
const ( OriginHostReqHeader = "X-Origin-Host" ForwardedHostReqHeader = "X-Forwarded-Host" )
Variables ¶
View Source
var DynamicalProxyCache = make(map[string]string, 10)
target ProxyCache {token:targetIP}
View Source
var TokenCache = make(map[string]domain.User, 20)
{Token:User}
Functions ¶
func GetMd5String ¶
func ProxyHandler ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.