mirror of
https://github.com/fumiama/terasu.git
synced 2026-06-05 09:10:24 +08:00
725 B
725 B
Usage
tls.Client(terasu.NewConn(conn), &tls.Config{
ServerName: host,
}).Handshake()
Custom Plugin (Linux Only)
Custom plugin code is located in the ext/custom directory. You can write and build your own plugin.
- Write your plugin code in the
ext/customdirectory - Build the plugin:
GOOS=linux go build -o terasu.plugin.so -buildmode=plugin -ldflags="-s -w" -trimpath ./ext/custom