command
module
Version:
v0.0.0-...-159249e
Opens a new window with list of versions in this module.
Published: Apr 13, 2024
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
http-test
HTTPのテストサーバー
ダウンロード
linux
amd64
wget https://github.com/akimoze/http-test/releases/download/ve7c822a/test-http-linux-amd64
arm64
wget https://github.com/akimoze/http-test/releases/download/ve7c822a/test-http-linux-arm64
mac
arm64
wget https://github.com/akimoze/http-test/releases/download/ve7c822a/test-http-darwin-arm64
設定ファイル
config.toml
をバイナリと同じディレクトリに配置してください。
address = ":3000"
use_tls = true
[cert]
cert_file = "./cert/example.com.pem"
cert_key = "./cert/example.com.key"
key |
type |
description |
address |
string |
listenAddressを指定します |
use_tls |
bool |
SSL/TLSを使用するかどうかを指定します。 |
cert.cert_file |
string |
SSLの証明書ファイルのパスを指定します(SSL/TLS使用時は必須) |
cert.cert_key |
string |
SSLの秘密鍵のパスを指定します(SSL/TLS使用時は必須) |
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.