web

package
v0.0.0-...-2d6549b Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2018 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DayHotSearch

type DayHotSearch struct {
	// contains filtered or unexported fields
}

DayHotSearch x

type DaySearchStats

type DaySearchStats struct {
	// contains filtered or unexported fields
}

DaySearchStats is search statistics of today

type DayStats

type DayStats struct {
	// contains filtered or unexported fields
}

DayStats x

type HomeData

type HomeData struct {
	SearchStats *SearchStats
	Host        string
}

HomeData x

type HotSearchStats

type HotSearchStats struct {
	// contains filtered or unexported fields
}

HotSearchStats is hot search statistics

func (*HotSearchStats) Len

func (s *HotSearchStats) Len() int

func (*HotSearchStats) Less

func (s *HotSearchStats) Less(i, j int) bool

func (*HotSearchStats) Swap

func (s *HotSearchStats) Swap(i, j int)

type SearchStats

type SearchStats struct {
	LatestSearches []string
	HotSearches    []string
}

SearchStats x

type Stats

type Stats struct {
	DayStats
	SearchStats
}

Stats x

type UserSearchTrack

type UserSearchTrack struct {
	// contains filtered or unexported fields
}

UserSearchTrack is for tracking user searches. ///////////////////////////////////////////////

func NewUserSearchTrack

func NewUserSearchTrack() *UserSearchTrack

NewUserSearchTrack x

type Web

type Web struct {
	// contains filtered or unexported fields
}

Web x

func (*Web) Start

func (we *Web) Start(searchReqCh chan *kad.SearchReq, keywordCheckReqCh chan *door.KeywordCheckReq, keywordManager *com.KeywordManager)

Start x

Jump to

Keyboard shortcuts

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