Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HTTPHandlerFunc ¶
type HTTPHandlerFunc func(writer http.ResponseWriter, request *http.Request)
type HTTPSDispatcher ¶
type HTTPSDispatcher struct {
// contains filtered or unexported fields
}
func NewHTTPSDispatcher ¶
func NewHTTPSDispatcher(baseURL *url.URL, logger boshlog.Logger) *HTTPSDispatcher
func (*HTTPSDispatcher) AddRoute ¶
func (h *HTTPSDispatcher) AddRoute(route string, handler HTTPHandlerFunc)
func (*HTTPSDispatcher) Start ¶
func (h *HTTPSDispatcher) Start() error
func (*HTTPSDispatcher) Stop ¶
func (h *HTTPSDispatcher) Stop()
Click to show internal directories.
Click to hide internal directories.