Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
Server hold mux Router and information of host port and address of our app
func NewServer ¶
func NewServer(cfg config.MailConfig, Handlers ...Handler) *Server
NewServer create Server from Handler
func (Server) CreateHTTPServer ¶
CreateHTTPServer will return http.Server for flexible use like testing
Click to show internal directories.
Click to hide internal directories.