mainthread

package
Version: v3.1.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2019 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FuncChannel = make(chan func())

FuncChannel passes functions executed in main thread

Functions

func Chdir

func Chdir(path string) (err error)

Chdir changes and returns current working directory from main thread

func EvalSymlinks(path string) (rpath string, err error)

EvalSymlinks returns the evaluated path after link resolution from main thread

func Execute

func Execute(f func())

Execute allows to execute a function in the main thread

func Readlink(name string) (dest string, err error)

Readlink returns the destination of link name from main thread

func Stat

func Stat(name string) (fi os.FileInfo, err error)

Stat retrieves file stat information from main thread

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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