file-api

module
v0.0.0-...-0f8bde9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 27, 2024 License: MIT

README

File api service

Commands

Gen protobuf \

Windows

protoc --go_out=.\proto  --go-grpc_out=.\proto  -I .\proto  .\proto\*  --proto_path=googleapis

Linux

protoc --go_out=./proto  --go-grpc_out=./proto  -I ./proto  ./proto/*  --proto_path=googleapis
Gen certificates \
openssl ecparam -out private.pem -name secp384r1  -genkey
openssl req -new -x509 -nodes -days 3650 -key private.pem -out cert.crt
-----
Country Name (2 letter code) [AU]:UA
State or Province Name (full name) [Some-State]:Kiev
Locality Name (eg, city) []:Kiev
Organization Name (eg, company) [Internet Widgits Pty Ltd]:GCFactory Co
Organizational Unit Name (eg, section) []:
Common Name (e.g. server FQDN or YOUR name) []:file-api
Email Address []:file-api.dbo@gcfactory.space

Directories

Path Synopsis
cmd
api
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.
internal
proto

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL