Versions in this module Expand all Collapse all v0 v0.4.0 Jun 24, 2024 Changes in this version + func GetFreePort() (int, error) + type Config struct + Permissions Permissions + type Permission struct + All bool + Allow []string + Deny []string + func (p *Permission) UnmarshalJSON(data []byte) error + type Permissions struct + All bool + Env Permission + Ffi Permission + Net Permission + Read Permission + Run Permission + Sys Permission + Write Permission + func (p *Permissions) Flags(rootDir string) []string type Worker + func (me *Worker) LoadPermission() (*Permissions, error) v0.3.2 Jun 18, 2024 v0.3.1 Jun 16, 2024 v0.3.0 Jun 16, 2024 v0.2.5 Jun 16, 2024 Changes in this version + var SmallwebDir string v0.2.4 Jun 12, 2024 v0.2.3 Jun 12, 2024 v0.2.2 Jun 12, 2024 v0.2.1 Jun 12, 2024 Changes in this version + var SMALLWEB_ROOT string v0.2.0 Jun 8, 2024 Changes in this version + var EXTENSIONS = []string + func DenoExecutable() (string, error) + type FetchInput struct + Entrypoint string + Headers [][]string + Method string + Port int + Url string + type Worker struct + func NewWorker(alias string) (*Worker, error) + func (me *Worker) Cmd(args ...string) (*exec.Cmd, error) + func (me *Worker) Run(runArgs []string) error + func (me *Worker) ServeHTTP(w http.ResponseWriter, r *http.Request) + type WorkerEntrypoints struct + Cli string + Http string