This commit is contained in:
parent
3aac196573
commit
c82256e5a1
1 changed files with 2 additions and 0 deletions
2
main.go
2
main.go
|
@ -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")
|
||||||
|
|
Loading…
Reference in a new issue