Documentation ¶
Index ¶
- type HttpServer
- func (this *HttpServer) APIHandler(w http.ResponseWriter, r *http.Request)
- func (this *HttpServer) DocumentHandler(document *models.DocumentEntity, w http.ResponseWriter)
- func (this *HttpServer) Listen()
- func (this *HttpServer) PingHandler(w http.ResponseWriter, r *http.Request)
- func (this *HttpServer) URLHandler(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HttpServer ¶
type HttpServer struct {
// contains filtered or unexported fields
}
func NewHttpServer ¶
func NewHttpServer(analyzer *Analyzer) *HttpServer
func (*HttpServer) APIHandler ¶
func (this *HttpServer) APIHandler(w http.ResponseWriter, r *http.Request)
func (*HttpServer) DocumentHandler ¶
func (this *HttpServer) DocumentHandler(document *models.DocumentEntity, w http.ResponseWriter)
func (*HttpServer) Listen ¶
func (this *HttpServer) Listen()
func (*HttpServer) PingHandler ¶
func (this *HttpServer) PingHandler(w http.ResponseWriter, r *http.Request)
func (*HttpServer) URLHandler ¶
func (this *HttpServer) URLHandler(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.