mirror of
https://github.com/fumiama/terasu.git
synced 2026-06-05 09:10:24 +08:00
1d573cf2be00e84ac4665602ad70cc3c8a8ff132
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
Languages
Go
100%