Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SearchServer ¶
type SearchServer struct { Id string // contains filtered or unexported fields }
func NewSearchServer ¶
func NewSearchServer(name string, latency int) SearchServer
Create a new search server
func (SearchServer) Search ¶
func (s SearchServer) Search(query string) Result
Perform a search operation
Click to show internal directories.
Click to hide internal directories.