datastructures

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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddUserEvent

type AddUserEvent struct {
	SteamID     string `json:"steamid"`
	PersonaName string `json:"personaname"`
	ProfileURL  string `json:"profileurl"`
	Avatar      string `json:"avatar"`
	CountryCode string `json:"countrycode"`
	CrawlTime   int64  `json:"crawltime"`
}

type FinishedCrawlWithItsUser

type FinishedCrawlWithItsUser struct {
	CrawlingStatus common.CrawlingStatus `json:"crawlingstatus"`
	User           common.UserDocument   `json:"user"`
}

type GetFinishedCrawlsDTO

type GetFinishedCrawlsDTO struct {
	Status                     string                     `json:"status"`
	AllFinishedCrawlsWithUsers []FinishedCrawlWithItsUser `json:"crawls"`
}

type GetFinishedShortestDistanceCrawlsDTO

type GetFinishedShortestDistanceCrawlsDTO struct {
	Status         string                 `json:"status"`
	CrawlingStatus []ShortestDistanceInfo `json:"crawlingstatus"`
}

type GetProcessedGraphDataDTO

type GetProcessedGraphDataDTO struct {
	Status        string                `json:"status"`
	UserGraphData common.UsersGraphData `json:"usergraphdata"`
}

type GetShortestDistanceInfoDataInputDTO

type GetShortestDistanceInfoDataInputDTO struct {
	CrawlIDs []string `json:"crawlids"`
}

type ShortestDistanceInfo

type ShortestDistanceInfo struct {
	CrawlIDs         []string              `json:"crawlids"`
	FirstUser        common.UserDocument   `json:"firstuser"`
	SecondUser       common.UserDocument   `json:"seconduser"`
	ShortestDistance []common.UserDocument `json:"shortestdistance"`
	TotalNetworkSpan int                   `json:"totalnetworkspan"`
	TimeStarted      int64                 `json:"timestarted"`
}

Jump to

Keyboard shortcuts

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