Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { ListenOn string ServerName string Echo bool Response string ListResponses bool Trace bool Version bool JSON bool TLS TLSOptions }
func NewDefault ¶
func NewDefault() Options
type TLSOptions ¶
func (*TLSOptions) AddFlags ¶
func (o *TLSOptions) AddFlags(fs *pflag.FlagSet)
func (*TLSOptions) Validate ¶
func (o *TLSOptions) Validate() error
Click to show internal directories.
Click to hide internal directories.