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.
Click to show internal directories.
Click to hide internal directories.