https://github.com/nobonobo/tinygo-tls
TLS sample for TinyGo(WIP)
https://github.com/nobonobo/tinygo-tls
tinygo tls
Last synced: 28 days ago
JSON representation
TLS sample for TinyGo(WIP)
- Host: GitHub
- URL: https://github.com/nobonobo/tinygo-tls
- Owner: nobonobo
- Created: 2020-10-17T13:49:09.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2020-10-19T02:26:24.000Z (over 4 years ago)
- Last Synced: 2025-01-31T15:46:54.129Z (3 months ago)
- Topics: tinygo, tls
- Language: Go
- Homepage:
- Size: 192 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# tinygo-tls
## Setup
listen htttps://localhost:8443
```shell
> go run ./server
```build on go
```shell
> go build -o tinygo-tls .
```build on tinygo
```shell
> tinygo build -o tinygo-tls .
```## Test TLS communication
```shell
> $ go run ./socat ./tinygo-tls
2020/10/19 10:46:12 exec: [./tinygo-tls]
HTTP/1.0 200 OK
Date: Mon, 19 Oct 2020 01:46:12 GMT
Content-Length: 6
Content-Type: text/plain; charset=utf-8hello!
```