|
|
|
@ -15,9 +15,9 @@ const maxRedirect = 21
|
|
|
|
|
|
|
|
|
|
type argT struct {
|
|
|
|
|
cli.Helper
|
|
|
|
|
Protocol string `cli:"s,scheme" usage:"protocol scheme(http or https)" dft:"http"`
|
|
|
|
|
Protocol string `cli:"s,scheme" usage:"protocol scheme (http or https)" dft:"http"`
|
|
|
|
|
Host string `cli:"H,host" usage:"rqlited host address" dft:"127.0.0.1"`
|
|
|
|
|
Port uint16 `cli:"p,port" usage:"rqlited listening http(s) port" dft:"4001"`
|
|
|
|
|
Port uint16 `cli:"p,port" usage:"rqlited host port" dft:"4001"`
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
|