mirror of
https://github.com/fumiama/terasu.git
synced 2026-06-07 19:30:23 +08:00
33 lines
725 B
Markdown
33 lines
725 B
Markdown
<img height="400" align="right" src="https://github.com/user-attachments/assets/5d038fd3-0db0-489a-bd2d-f50591d34660">
|
|
|
|
<div align="center">
|
|
|
|
# TeRaSu (TRS)
|
|
|
|
よの光遍く空へ照しつつ
|
|
|
|
土棲むものは孰れか見ゆや
|
|
|
|

|
|
|
|
</div>
|
|
|
|
## Usage
|
|
|
|
```go
|
|
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.
|
|
|
|
1. Write your plugin code in the `ext/custom` directory
|
|
2. Build the plugin:
|
|
|
|
```bash
|
|
GOOS=linux go build -o terasu.plugin.so -buildmode=plugin -ldflags="-s -w" -trimpath ./ext/custom
|
|
```
|