waitfor

package
v0.40.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 13, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Overview

Package waitfor provides the scriptling.wait_for extension library.

Index

Constants

View Source
const LibraryName = "scriptling.wait_for"

LibraryName is the script-visible name of the wait_for library.

Variables

View Source
var Library = newWaitForLibrary(nil, &fssecurity.Config{})

Library is the wait_for library (no network or filesystem policy)

Functions

func Register

func Register(registrar interface{ RegisterLibrary(*object.Library) }, cfg ...*netsecurity.Config)

Register registers the wait_for library with an optional network policy and no filesystem restrictions.

func RegisterConfigured

func RegisterConfigured(registrar interface{ RegisterLibrary(*object.Library) }, allowedPaths []string, cfg ...*netsecurity.Config)

RegisterConfigured registers the wait_for library with filesystem and network restrictions. allowedPaths confines file, dir and file_content as it does the os and pathlib libraries (nil = unrestricted, empty = deny all); cfg is the network policy for port and http.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL