Documentation
¶
Index ¶
- type Listener
- type Option
- func WithHTTP(baseAddress string, port int) Option
- func WithHTTPListener(listener Listener) Option
- func WithHTTPS(baseAddress string, port int) Option
- func WithHTTPSListener(listener Listener) Option
- func WithRequestProcessor(requestProcessor *processor.RequestProcessor) Option
- func WithSslCert(cert string) Option
- func WithSslKey(key string) Option
- type Server
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶ added in v0.0.4
type Option = func(s *Server)
func WithHTTPListener ¶ added in v0.0.4
func WithHTTPSListener ¶ added in v0.0.4
func WithRequestProcessor ¶ added in v0.0.4
func WithRequestProcessor(requestProcessor *processor.RequestProcessor) Option
func WithSslCert ¶
func WithSslKey ¶
Click to show internal directories.
Click to hide internal directories.