Documentation ¶
Overview ¶
Package server provides the server subcommand.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
type Command struct { // Generic settings FileRoot string `help:"Root to scan for files" default:"/var/lib/run-dsp/fsprovider"` // GRPC settings GRPCListenAddr string `help:"Listen address for the GRPC service" default:"0.0.0.0" env:"GRPC_LISTEN_ADDR"` GRPCPort int `help:"Port for the GRPC service" default:"9090" env:"GRPC_PORT"` GRPCInsecure bool `help:"Disable TLS" default:"false" env:"PROVIDER_INSECURE"` GRPCCert string `help:"Client certificate to use to authenticate with provider" env:"PROVIDER_CLIENT_CERT"` GRPCCertKey string `help:"Key to the client certificate" env:"PROVIDER_CLIENT_CERT_KEY"` GRPCVerifyClientCertificates bool `help:"Require validated client certificates to connect" default:"false" env:"GRPC_VERIFY_CLIENT_CERTIFICATES" ` GRPCClientCACert string `help:"Custom CA certificate to verify client certificates with" env:"PROVIDER_CA"` // File publish settings PublishListenAddr string `help:"Listen address for the file publish service." default:"0.0.0.0" env:"PUBLISH_LISTEN_ADDR"` PublishPort int `help:"Port for the file publish service." default:"9091" env:"PUBLISH_PORT"` ExternalURL string `help:"External address that the publish service is reachable from." default:"http://127.0.0.1:9091/" env:"EXTERNAL_URL"` }
Click to show internal directories.
Click to hide internal directories.