custom port
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Arnas Udovicius 2022-08-18 00:41:47 +03:00
parent 3aac196573
commit c82256e5a1

View file

@ -16,6 +16,7 @@ import (
var ( var (
hostname string hostname string
port string
fileSrvHost string fileSrvHost string
fileSrvPort string fileSrvPort string
certificatePath string certificatePath string
@ -23,6 +24,7 @@ var (
func init() { func init() {
flag.StringVar(&hostname, "hostname", "", "capsule hostname") flag.StringVar(&hostname, "hostname", "", "capsule hostname")
flag.StringVar(&port, "port", "1965", "capsule port")
flag.StringVar(&certificatePath, "certificatePath", "", "capsule certificate path") flag.StringVar(&certificatePath, "certificatePath", "", "capsule certificate path")
flag.StringVar(&fileSrvHost, "fileSrvHost", "", "file push server host") flag.StringVar(&fileSrvHost, "fileSrvHost", "", "file push server host")
flag.StringVar(&fileSrvPort, "fileSrvPort", "", "file push server port") flag.StringVar(&fileSrvPort, "fileSrvPort", "", "file push server port")