Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AppArgs ¶
type AppArgs struct { cli.Helper PortNumber int `cli:"p,port" usage:"the port the application will listen on" dft:"2800"` Htpasswd string `cli:"w,password" usage:"the htpasswd file to use for authentication" dft:".htpasswd"` Secret string `cli:"s,secret" usage:"the secret to use for the application" dft:".appsecret"` TmpDir string `cli:"t,tmpdir" usage:"the temporary location for cached files" dft:"tmp"` }
AppArgs are the application arguments to run the application
func (*AppArgs) HtpasswdPath ¶
HtpasswdPath is the path for the htpasswd file
func (*AppArgs) SecretPath ¶
SecretPath is the path for the application secret
func (*AppArgs) TmpDirPath ¶
TmpDirPath return the path to the temporary files directory
Click to show internal directories.
Click to hide internal directories.