Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Actor ¶
func Actor(withOptions ...ServeOptions) (execute func() error, interrupt func(error))
func ListenAndServe ¶
func ListenAndServe(withOptions ...ServeOptions) error
Types ¶
type ServeMuxOptions ¶
func WithServeMuxPatternHandler ¶
func WithServeMuxPatternHandler(pattern string, handler http.Handler) ServeMuxOptions
type ServeOptions ¶
type ServeOptions func(options *serverOptions)
func WithDefaultServeMuxHandler ¶
func WithDefaultServeMuxHandler(serveMuxOptions ...ServeMuxOptions) ServeOptions
func WithServeHandler ¶
func WithServeHandler(handler http.Handler) ServeOptions
func WithServePort ¶
func WithServePort(port int) ServeOptions
Click to show internal directories.
Click to hide internal directories.