Versions in this module Expand all Collapse all v0 v0.1.0 Oct 15, 2023 v0.0.1 Oct 15, 2023 Changes in this version + var AclResource = core.AclResource[*Runtime] + var BackendResource = core.BackendResource[*Runtime] + var SubroutineResource = core.SubroutineResource[*Runtime] + var TableResource = core.TableResource[*Runtime] + func LoggerInitiator(name string) (io.Writer, error) + type Runtime struct + BackendRequest *http.Request + BackendResponse *http.Response + ClientResponse http.ResponseWriter + Request *http.Request + Response *http.Response + State vintage.State + func NewRuntime(w http.ResponseWriter, r *http.Request) (*Runtime, error) + func (r *Runtime) BackendBodyBytesWritten() (int64, error) + func (r *Runtime) BackendBytesWritten() (int64, error) + func (r *Runtime) BackendHeaderBytesWritten() int64 + func (r *Runtime) CreateBackendRequest() vintage.RawHeader + func (r *Runtime) CreateClientResponse() (vintage.RawHeader, error) + func (r *Runtime) CreateObjectResponse(statusCode int, response string) (vintage.RawHeader, error) + func (r *Runtime) Execute(ctx context.Context) error + func (r *Runtime) IsIpv6() bool + func (r *Runtime) ObjectAge() time.Duration + func (r *Runtime) ObjectCacheable() bool + func (r *Runtime) ObjectHits() int64 + func (r *Runtime) Proxy(ctx context.Context, backendName string) (vintage.RawHeader, error) + func (r *Runtime) Release() + func (r *Runtime) RequestBody() (string, error) + func (r *Runtime) RequestBodyBase64() (string, error) + func (r *Runtime) RequestBodyBytesRead() (int64, error) + func (r *Runtime) RequestBytesRead() (int64, error) + func (r *Runtime) RequestURL(req *http.Request) string + func (r *Runtime) ResponseBody(resp *http.Response) (string, error) + func (r *Runtime) SetResponseBody(resp *http.Response, body string) + func (r *Runtime) SetURL(req *http.Request, dst *url.URL) + func (r *Runtime) WriteResponse() ([3]int64, error)