fss

Crates.iofss
lib.rsfss
version0.3.1
sourcesrc
created_at2023-04-03 10:48:13.324379
updated_at2024-01-18 10:34:18.277779
descriptionfile store service.
homepage
repositoryhttps://github.com/luyikk/file-store-server
max_upload_size
id829008
size113,340
(luyikk)

documentation

README

file store service

Click to [File Store Client]

make config

fss create
root="./store"


[service]
# the local IP address and port that the service listens on.
addr = "0.0.0.0:7556"

# used to verify whether the service_name in the client configuration is correct
service_name = "file-store-service"

# used to verify whether the verify_key in the client configuration is correct.
verify_key = ""

# the timeout period for the server to request the client
request_out_time = 5000

# the existence time of the client peer session. If it exceeds this time, the client peer will be cleared
session_save_time = 5000

## used to configure TLS communication encryption (optional).
## if not provided, TLS will not be used for communication encryption
[tls]
## ca file path (optional)
## if not provided, the client’s certificate will not be verified.
ca = "./tls/ca.crt"

## cert file path
cert = "./tls/server-crt.pem"

## key file path
key = "./tls/server-key.pem"

exec

fss exec

service install

fss service install

service start

fss service start

service stop

fss service stop

service uninstall

fss service uninstall
Commit count: 54

cargo fmt