Documentation
¶
Index ¶
- func LogBasicErr(err error, req *http.Request, statusCode int)
- func LogBasicInfo(msg string, req *http.Request, statusCode int)
- type Endpoints
- func (endpoints *Endpoints) AuthMiddleware(next http.Handler) http.Handler
- func (endpoints *Endpoints) CrawlPage(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) CreateCrawlingStatus(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) DisallowFileBrowsing(next http.Handler) http.Handler
- func (endpoints *Endpoints) GetGameDetails(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) HomeHandler(w http.ResponseWriter, req *http.Request)
- func (endpoints *Endpoints) IsPrivateProfile(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) LoggingMiddleware(next http.Handler) http.Handler
- func (endpoints *Endpoints) ServeGraph(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) ServeInteractiveGraph(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) SetupRouter() *mux.Router
- func (endpoints *Endpoints) ShortestDistance(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) Status(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Endpoints ¶
type Endpoints struct {
Cntr controller.CntrInterface
}
func (*Endpoints) AuthMiddleware ¶
func (*Endpoints) CrawlPage ¶
func (endpoints *Endpoints) CrawlPage(w http.ResponseWriter, r *http.Request)
func (*Endpoints) CreateCrawlingStatus ¶
func (endpoints *Endpoints) CreateCrawlingStatus(w http.ResponseWriter, r *http.Request)
func (*Endpoints) DisallowFileBrowsing ¶
func (*Endpoints) GetGameDetails ¶
func (endpoints *Endpoints) GetGameDetails(w http.ResponseWriter, r *http.Request)
func (*Endpoints) HomeHandler ¶
func (endpoints *Endpoints) HomeHandler(w http.ResponseWriter, req *http.Request)
func (*Endpoints) IsPrivateProfile ¶
func (endpoints *Endpoints) IsPrivateProfile(w http.ResponseWriter, r *http.Request)
func (*Endpoints) LoggingMiddleware ¶
func (*Endpoints) ServeGraph ¶
func (endpoints *Endpoints) ServeGraph(w http.ResponseWriter, r *http.Request)
func (*Endpoints) ServeInteractiveGraph ¶
func (endpoints *Endpoints) ServeInteractiveGraph(w http.ResponseWriter, r *http.Request)
func (*Endpoints) SetupRouter ¶
func (*Endpoints) ShortestDistance ¶
func (endpoints *Endpoints) ShortestDistance(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.