Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTP ¶
type HTTP struct { File []string `clop:"short;long;greedy" usage:"Parsing dst files" valid:"required"` Client bool `clop:"short;long" usage:"gen http client code"` Server bool `clop:"short;long" usage:"gen http server code"` Dir string `clop:"short;long" usage:"gen dir" default:"."` Debug bool `clop:"long" usage:"debug mode"` }
3.生成客户端和服务端代码 h2o http -f ./testdata/dst.yaml --client --server
Click to show internal directories.
Click to hide internal directories.