10 releases

0.2.2 Aug 21, 2023
0.2.1 May 21, 2023
0.1.6 Apr 18, 2023
Download history 10/week @ 2023-05-28 9/week @ 2023-06-04 2/week @ 2023-06-11 10/week @ 2023-06-18 9/week @ 2023-06-25 5/week @ 2023-07-02 1/week @ 2023-07-09 4/week @ 2023-07-23 1/week @ 2023-07-30 18/week @ 2023-08-06 9/week @ 2023-08-13 28/week @ 2023-08-20 20/week @ 2023-08-27 11/week @ 2023-09-03 3/week @ 2023-09-10

71 downloads per month

MIT/Apache

61KB
1.5K SLoC

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

Dependencies

~17–58MB
~1M SLoC