endpoints

package
v0.0.0-...-7b40e99 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 26, 2022 License: MIT Imports: 26 Imported by: 0

Documentation

Index

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 *Endpoints) AuthMiddleware(next http.Handler) http.Handler

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 *Endpoints) LoggingMiddleware(next http.Handler) http.Handler

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

func (endpoints *Endpoints) SetupRouter() *mux.Router

func (*Endpoints) Status

func (endpoints *Endpoints) Status(w http.ResponseWriter, r *http.Request)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL