Documentation ¶
Index ¶
- func CmdCombinedOutput(hookId int, cmd *exec.Cmd) ([]byte, error)
- func CmdOutput(hookId int, cmd *exec.Cmd) ([]byte, error)
- func CmdRun(hookId int, cmd *exec.Cmd) error
- func CmdStart(hookId int, cmd *exec.Cmd) error
- func ConnExecContext(hookId int, conn *sql.Conn, ctx context.Context, query string, args ...any) (sql.Result, error)
- func ConnPrepareContext(hookId int, conn *sql.Conn, ctx context.Context, query string) (*sql.Stmt, error)
- func ConnQueryContext(hookId int, conn *sql.Conn, ctx context.Context, query string, args ...any) (*sql.Rows, error)
- func ConnQueryRowContext(hookId int, conn *sql.Conn, ctx context.Context, query string, args ...any) *sql.Row
- func DbExec(hookId int, db *sql.DB, query string, args ...any) (sql.Result, error)
- func DbExecContext(hookId int, db *sql.DB, ctx context.Context, query string, args ...any) (sql.Result, error)
- func DbPrepare(hookId int, db *sql.DB, query string) (*sql.Stmt, error)
- func DbPrepareContext(hookId int, db *sql.DB, ctx context.Context, query string) (*sql.Stmt, error)
- func DbQuery(hookId int, db *sql.DB, query string, args ...any) (*sql.Rows, error)
- func DbQueryContext(hookId int, db *sql.DB, ctx context.Context, query string, args ...any) (*sql.Rows, error)
- func DbQueryRow(hookId int, db *sql.DB, query string, args ...any) *sql.Row
- func DbQueryRowContext(hookId int, db *sql.DB, ctx context.Context, query string, args ...any) *sql.Row
- func FilepathWalk(hookId int, root string, fn filepath.WalkFunc) error
- func FilepathWalkDir(hookId int, root string, fn fs.WalkDirFunc) error
- func FsFileInfoToDirEntry(hookId int, info fs.FileInfo) fs.DirEntry
- func FsOpen(hookId int, fsys fs.FS, name string) (fs.File, error)
- func FsReadDir(hookId int, fsys fs.FS, name string) ([]fs.DirEntry, error)
- func FsReadFile(hookId int, fsys fs.FS, name string) ([]byte, error)
- func FsStat(hookId int, fsys fs.FS, name string) (fs.FileInfo, error)
- func FsSub(hookId int, fsys fs.FS, dir string) (fs.FS, error)
- func FsWalkDir(hookId int, fsys fs.FS, root string, fn fs.WalkDirFunc) error
- func HtmlTemplateExecute(hookId int, tmpl *htmlTemplate.Template, wr io.Writer, data any) error
- func HtmlTemplateExecuteTemplate(hookId int, tmpl *htmlTemplate.Template, wr io.Writer, name string, data any) error
- func IoutilReadDir(hookId int, dirname string) ([]fs.FileInfo, error)
- func IoutilReadFile(hookId int, filename string) ([]byte, error)
- func IoutilTempDir(hookId int, dir, pattern string) (string, error)
- func IoutilTempFile(hookId int, dir, pattern string) (*os.File, error)
- func IoutilWriteFile(hookId int, filename string, data []byte, perm fs.FileMode) error
- func OsChdir(hookId int, dir string) error
- func OsChmod(hookId int, name string, mode os.FileMode) error
- func OsChown(hookId int, name string, uid, gid int) error
- func OsChtimes(hookId int, name string, atime time.Time, mtime time.Time) error
- func OsCreate(hookId int, name string) (*os.File, error)
- func OsCreateTemp(hookId int, dir, pattern string) (*os.File, error)
- func OsDirFS(hookId int, dir string) fs.FS
- func OsLchown(hookId int, name string, uid, gid int) error
- func OsLink(hookId int, oldname, newname string) error
- func OsLstat(hookId int, name string) (os.FileInfo, error)
- func OsMkdir(hookId int, name string, perm os.FileMode) error
- func OsMkdirAll(hookId int, name string, perm os.FileMode) error
- func OsMkdirTemp(hookId int, dir, pattern string) (string, error)
- func OsNewFile(hookId int, fd uintptr, name string) *os.File
- func OsOpen(hookId int, name string) (*os.File, error)
- func OsOpenFile(hookId int, name string, flag int, perm os.FileMode) (*os.File, error)
- func OsReadDir(hookId int, name string) ([]os.DirEntry, error)
- func OsReadFile(hookId int, name string) ([]byte, error)
- func OsReadlink(hookId int, name string) (string, error)
- func OsRemove(hookId int, name string) error
- func OsRemoveAll(hookId int, path string) error
- func OsRename(hookId int, oldpath, newpath string) error
- func OsStartProcess(hookId int, name string, argv []string, attr *os.ProcAttr) (*os.Process, error)
- func OsStat(hookId int, name string) (os.FileInfo, error)
- func OsSymlink(hookId int, oldname, newname string) error
- func OsTruncate(hookId int, name string, size int64) error
- func OsWriteFile(hookId int, name string, data []byte, perm os.FileMode) error
- func StmtExec(_ int, stmt *sql.Stmt, args ...any) (sql.Result, error)
- func StmtExecContext(_ int, stmt *sql.Stmt, ctx context.Context, args ...any) (sql.Result, error)
- func StmtQuery(_ int, stmt *sql.Stmt, args ...any) (*sql.Rows, error)
- func StmtQueryContext(_ int, stmt *sql.Stmt, ctx context.Context, args ...any) (*sql.Rows, error)
- func StmtQueryRow(_ int, stmt *sql.Stmt, args ...any) *sql.Row
- func StmtQueryRowContext(_ int, stmt *sql.Stmt, ctx context.Context, args ...any) *sql.Row
- func TextTemplateExecute(hookId int, tmpl *textTemplate.Template, wr io.Writer, data any) error
- func TextTemplateExecuteTemplate(hookId int, tmpl *textTemplate.Template, wr io.Writer, name string, data any) error
- func TxExec(hookId int, tx *sql.Tx, query string, args ...any) (sql.Result, error)
- func TxExecContext(hookId int, tx *sql.Tx, ctx context.Context, query string, args ...any) (sql.Result, error)
- func TxPrepare(hookId int, tx *sql.Tx, query string) (*sql.Stmt, error)
- func TxPrepareContext(hookId int, tx *sql.Tx, ctx context.Context, query string) (*sql.Stmt, error)
- func TxQuery(hookId int, tx *sql.Tx, query string, args ...any) (*sql.Rows, error)
- func TxQueryContext(hookId int, tx *sql.Tx, ctx context.Context, query string, args ...any) (*sql.Rows, error)
- func TxQueryRow(hookId int, tx *sql.Tx, query string, args ...any) *sql.Row
- func TxQueryRowContext(hookId int, tx *sql.Tx, ctx context.Context, query string, args ...any) *sql.Row
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnExecContext ¶
func ConnPrepareContext ¶
func ConnQueryContext ¶
func ConnQueryRowContext ¶
func DbExecContext ¶
func DbPrepareContext ¶
func DbQueryContext ¶
func DbQueryRowContext ¶
func FilepathWalkDir ¶
func FilepathWalkDir(hookId int, root string, fn fs.WalkDirFunc) error
func HtmlTemplateExecute ¶
func IoutilWriteFile ¶
func OsOpenFile ¶
func OsRemoveAll ¶
func OsStartProcess ¶
func StmtExecContext ¶
func StmtQueryContext ¶
func StmtQueryRowContext ¶
func TextTemplateExecute ¶
func TxExecContext ¶
func TxPrepareContext ¶
func TxQueryContext ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.