dlopen

package
v0.20.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2025 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

以不依赖CGO的方式加载不同平台的共享库. - linux/macOS: 基于Go的 plugin 标准库 - windows: 基于 syscall 的 LazyDLL - js: 基于 syscal/js, 暂为实现

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type LibHandle

type LibHandle interface {
	Lookup(symName string) (*Proc, error)
}

func Open

func Open(path string) (LibHandle, error)

type Proc

type Proc struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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