Documentation
¶
Index ¶
- type Endpoints
- func (endpoints *Endpoints) AuthMiddleware(next http.Handler) http.Handler
- func (endpoints *Endpoints) CalculateShortestDistanceInfo(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) CrawlingStatsUpdateStream(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) DoesProcessedGraphDataExist(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) GetCrawlingStatus(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) GetCrawlingUser(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) GetDetailsForGames(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) GetFinishedCrawlsAfterTimestamp(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) GetFinishedShortestDistanceCrawlsAfterTimestamp(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) GetGraphableData(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) GetProcessedGraphData(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) GetShortestDistanceInfo(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) GetTotalCrawlsCompleted(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) GetTotalUsersInDB(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) GetUser(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) GetUsernamesFromSteamIDs(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) HasBeenCrawledBefore(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) InsertGame(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) LoggingMiddleware(next http.Handler) http.Handler
- func (endpoints *Endpoints) NewUserStream(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) SaveCrawlingStatsToDB(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) SaveProcessedGraphData(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) SaveUser(w http.ResponseWriter, r *http.Request)
- func (endpoints *Endpoints) SetupRouter() *mux.Router
- func (endpoints *Endpoints) Status(w http.ResponseWriter, r *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Endpoints ¶
type Endpoints struct {
Cntr controller.CntrInterface
}
func (*Endpoints) AuthMiddleware ¶
func (*Endpoints) CalculateShortestDistanceInfo ¶
func (endpoints *Endpoints) CalculateShortestDistanceInfo(w http.ResponseWriter, r *http.Request)
func (*Endpoints) CrawlingStatsUpdateStream ¶
func (endpoints *Endpoints) CrawlingStatsUpdateStream(w http.ResponseWriter, r *http.Request)
func (*Endpoints) DoesProcessedGraphDataExist ¶
func (endpoints *Endpoints) DoesProcessedGraphDataExist(w http.ResponseWriter, r *http.Request)
func (*Endpoints) GetCrawlingStatus ¶
func (endpoints *Endpoints) GetCrawlingStatus(w http.ResponseWriter, r *http.Request)
func (*Endpoints) GetCrawlingUser ¶
func (endpoints *Endpoints) GetCrawlingUser(w http.ResponseWriter, r *http.Request)
func (*Endpoints) GetDetailsForGames ¶
func (endpoints *Endpoints) GetDetailsForGames(w http.ResponseWriter, r *http.Request)
func (*Endpoints) GetFinishedCrawlsAfterTimestamp ¶
func (endpoints *Endpoints) GetFinishedCrawlsAfterTimestamp(w http.ResponseWriter, r *http.Request)
func (*Endpoints) GetFinishedShortestDistanceCrawlsAfterTimestamp ¶
func (endpoints *Endpoints) GetFinishedShortestDistanceCrawlsAfterTimestamp(w http.ResponseWriter, r *http.Request)
func (*Endpoints) GetGraphableData ¶
func (endpoints *Endpoints) GetGraphableData(w http.ResponseWriter, r *http.Request)
func (*Endpoints) GetProcessedGraphData ¶
func (endpoints *Endpoints) GetProcessedGraphData(w http.ResponseWriter, r *http.Request)
func (*Endpoints) GetShortestDistanceInfo ¶
func (endpoints *Endpoints) GetShortestDistanceInfo(w http.ResponseWriter, r *http.Request)
func (*Endpoints) GetTotalCrawlsCompleted ¶
func (endpoints *Endpoints) GetTotalCrawlsCompleted(w http.ResponseWriter, r *http.Request)
func (*Endpoints) GetTotalUsersInDB ¶
func (endpoints *Endpoints) GetTotalUsersInDB(w http.ResponseWriter, r *http.Request)
func (*Endpoints) GetUser ¶
func (endpoints *Endpoints) GetUser(w http.ResponseWriter, r *http.Request)
func (*Endpoints) GetUsernamesFromSteamIDs ¶
func (endpoints *Endpoints) GetUsernamesFromSteamIDs(w http.ResponseWriter, r *http.Request)
func (*Endpoints) HasBeenCrawledBefore ¶
func (endpoints *Endpoints) HasBeenCrawledBefore(w http.ResponseWriter, r *http.Request)
func (*Endpoints) InsertGame ¶
func (endpoints *Endpoints) InsertGame(w http.ResponseWriter, r *http.Request)
func (*Endpoints) LoggingMiddleware ¶
func (*Endpoints) NewUserStream ¶
func (endpoints *Endpoints) NewUserStream(w http.ResponseWriter, r *http.Request)
func (*Endpoints) SaveCrawlingStatsToDB ¶
func (endpoints *Endpoints) SaveCrawlingStatsToDB(w http.ResponseWriter, r *http.Request)
func (*Endpoints) SaveProcessedGraphData ¶
func (endpoints *Endpoints) SaveProcessedGraphData(w http.ResponseWriter, r *http.Request)
func (*Endpoints) SaveUser ¶
func (endpoints *Endpoints) SaveUser(w http.ResponseWriter, r *http.Request)
func (*Endpoints) SetupRouter ¶
Click to show internal directories.
Click to hide internal directories.