src

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Packages = map[string]map[string]starlark.Value{
	"io": map[string]starlark.Value{
		"Reader":     io.Reader,
		"ReadCloser": io.ReadCloser,
	},
	"io/ioutil": map[string]starlark.Value{
		"NopCloser": ioutil.NopCloser,
		"ReadAll":   ioutil.ReadAll,
	},
	"net/http": map[string]starlark.Value{
		"Get":            http.Get,
		"Response":       http.Response,
		"ResponseWriter": http.ResponseWriter,
		"Handler":        http.Handler,
		"ListenAndServe": http.ListenAndServe,
		"HandleFunc":     http.HandleFunc,
	},
	"sync": map[string]starlark.Value{
		"WaitGroup": sync.WaitGroup,
	},
	"time": map[string]starlark.Value{
		"Sleep":       time.Sleep,
		"Duration":    time.Duration,
		"Nanosecond":  time.Nanosecond,
		"Microsecond": time.Microsecond,
		"Millisecond": time.Millisecond,
		"Second":      time.Second,
		"Minute":      time.Minute,
		"Hour":        time.Hour,
		"Now":         time.Now,
		"Time":        time.Time,
	},
}

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
io
net

Jump to

Keyboard shortcuts

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