Versions in this module Expand all Collapse all v0 v0.0.1 Aug 3, 2023 Changes in this version + const DIST_DIR_SERVER + const DIST_DIR_WWW + func GetStaticAndProxyHandler(urlPrefix, rootPath string) gin.HandlerFunc + func HandleSsrRequest(c *gin.Context) + func NewServer(c *Config) error + type Config struct + AlarmSecret string + AlarmUrl string + ClientCookie string + ClientPath string + Env string + Host string + InternalApiHost string + InternalApiIp string + InternalApiPort int32 + IsApiDelegate bool + Log tlog.Config + RedirectOnerror string + SsrCtx []string + StaticUrlPath string + TemplateName string + TemplateVars []TemplateVar + V8LifeTime int + V8MaxCount int32 + type DebugTransport struct + func (DebugTransport) RoundTrip(r *http.Request) (*http.Response, error) + type Request struct + type RequestMgr struct + func NewRequestMgr() *RequestMgr + func (this *RequestMgr) DestroyRequest(reqId int64) + func (this *RequestMgr) GetRequest(reqId int64) *Request + func (this *RequestMgr) NewRequest() *Request + type Server struct + ClientCookie string + ClientPath string + Env string + HostPort int + IsApiDelegate bool + RedirectOnerror string + RequstMgr *RequestMgr + SsrCtx []string + SsrTemplate string + TemplateUrlEnv string + TemplateVars map[string]string + V8Mgr *v8.V8Mgr + var ThisServer *Server + type SsrResult struct + Css string + Html string + Meta map[string]string + type TemplateVar struct + Key string + Type string