package
Version:
v0.0.0-...-f00139d
Opens a new window with list of versions in this module.
Published: Sep 15, 2019
License: GPL-3.0
Opens a new window with license information.
Imports: 11
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package httpd exposes the REST API of Mailmock.
Server is holding the HTTP server properties.
NewServer creates a HTTP server.
func (srv *Server) ListenAndServe(stop <-chan struct{}) error
ListenAndServe starts listening for clients connection and serves requests.
Routes returns a configured router for REST API serving.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.