Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/Hands-On-Software-Engineering-with-Golang
/ types & classes
Types & classes
345 in github.com/PacktPublishing/Hands-On-Software-Engineering-with-Golang
⨍
Functions
1,360
◇
Types & classes
345
↓ 7 callers
TypeAlias
Step_Type
please upgrade the proto package The type of this step.
Chapter12/dbspgraph/proto/api.pb.go:30
↓ 4 callers
FuncType
ProcessorFunc
ProcessorFunc is an adapter to allow the use of plain functions as Processor instances. If f is a function with the appropriate signature, ProcessorFu
Chapter07/pipeline/interfaces.go:29
↓ 3 callers
TypeAlias
graphMessage
Chapter12/dbspgraph/integration_test.go:26
↓ 2 callers
TypeAlias
restEndpointCaller
restEndpointCaller is a convenience type for perfoming GET requests to REST endpoints.
Chapter04/retail/retail.go:95
↓ 2 callers
TypeAlias
stubChallenger
Chapter04/captcha/captcha_test.go:24
↓ 2 callers
TypeAlias
stubPrompter
Chapter04/captcha/captcha_test.go:30
↓ 1 callers
TypeAlias
QueryType
QueryType describes the types of queries supported by the indexer implementations.
Chapter06/textindexer/index/indexer.go:46
↓ 1 callers
TypeAlias
Query_Type
please upgrade the proto package
Chapter09/linksrus/textindexerapi/proto/api.pb.go:29
↓ 1 callers
FuncType
RelayerFunc
The RelayerFunc type is an adapter to allow the use of ordinary functions as Relayers. If f is a function with the appropriate signature, RelayerFunc(
Chapter08/bspgraph/interfaces.go:47
Interface
API
API is implemented by clients of the project metadata micro-service.
Chapter04/dependency/dependency.go:15
Struct
AccumulatorTestSuite
Chapter08/bspgraph/aggregator/accumulator_test.go:25
Interface
Aggregator
Aggregator is implemented by types that provide concurrent-safe aggregation primitives (e.g. counters, min/max, topN).
Chapter08/bspgraph/interfaces.go:9
Struct
Aggregator
Aggregator collects and returns price quotes from a set of downstream providers.
Chapter11/tracing/service/aggregator.go:16
Struct
Assigner
Assigner implements the greedy Jones/Plassmann algorithm for coloring graphs.
Chapter08/color/color.go:12
Struct
AuthHandlerTestSuite
Chapter09/oauthflow/auth/auth_test.go:25
Struct
Calculator
Calculator implements a shortest path calculator from a single vertex to all other vertices in a connected graph.
Chapter08/shortestpath/path.go:14
Struct
Calculator
Calculator executes the iterative version of the PageRank algorithm on a graph until the desired level of convergence is reached.
Chapter08/pagerank/calculator.go:13
Struct
CalculatorTestSuite
Chapter08/pagerank/calculator_test.go:33
Interface
Challenger
Challenger is implemented by objects that can generate CAPTCHA image challenges.
Chapter04/captcha/captcha.go:9
Struct
ClientTestSuite
Chapter09/linksrus/textindexerapi/client_test.go:21
Struct
ClientTestSuite
Chapter09/linksrus/linkgraphapi/client_test.go:21
Struct
CockroachDBGraph
CockroachDBGraph implements a graph that persists its links and edges to a cockroachdb instance.
Chapter06/linkgraph/store/cdb/cdb.go:36
Struct
CockroachDbGraphTestSuite
Chapter06/linkgraph/store/cdb/cdb_test.go:16
Struct
Collector
Collector provides helper methods for building the dependency graph of projects.
Chapter04/dependency/dependency.go:26
Struct
ColorGraphTestSuite
Chapter08/color/color_test.go:14
FuncType
ComputeFunc
ComputeFunc is a function that a graph instance invokes on each vertex when executing a superstep.
Chapter08/bspgraph/interfaces.go:56
Struct
Config
Config encapsulates the configuration options for creating a new Crawler.
Chapter07/crawler/crawler.go:50
Struct
Config
Config encapsulates the settings for configuring the front-end service.
Chapter10/linksrus/service/frontend/frontend.go:46
Struct
Config
Config encapsulates the settings for configuring the PageRank calculator service.
Chapter10/linksrus/service/pagerank/pagerank.go:37
Struct
Config
Config encapsulates the settings for configuring the web-crawler service.
Chapter10/linksrus/service/crawler/crawler.go:38
Struct
Config
Config encapsulates the required parameters for creating a new PageRank calculator instance.
Chapter08/pagerank/config.go:10
Struct
ConfigTestSuite
Chapter12/dbspgraph/config_test.go:11
Struct
ConfigTestSuite
Chapter10/linksrus/service/pagerank/pagerank_test.go:20
Struct
ConfigTestSuite
Chapter10/linksrus/service/crawler/crawler_test.go:19
Struct
ContentExtractorTestSuite
Chapter07/crawler/text_extractor_test.go:11
Struct
Crawler
Crawler implements a web-page crawling pipeline consisting of the following stages: - Given a URL, retrieve the web-page contents from the remote ser
Chapter07/crawler/crawler.go:76
Struct
CrawlerIntegrationTestSuite
Chapter07/crawler/crawler_integration_test.go:46
Struct
CrawlerTestSuite
Chapter10/linksrus/service/crawler/crawler_test.go:66
TypeAlias
DepType
DepType describes a dependency type.
Chapter04/dependency/dependency.go:6
Struct
Details
Details encapsulates the information about a job executed by a master or a worker node.
Chapter12/dbspgraph/job/details.go:11
Interface
Detector
Detector is implemented by types that can assign a clustered application instance to a particular partition.
Chapter10/linksrus/partition/detector.go:25
Struct
Detector
Detector checks whether a host name resolves to a private network address.
Chapter07/crawler/privnet/detector.go:27
Struct
DetectorTestSuite
Chapter07/crawler/privnet/detector_test.go:12
Struct
DetectorTestSuite
Chapter10/linksrus/partition/detector_test.go:13
Interface
Device
Device is implemented by objects that can perform vector operations on slices containing single-precision floating point numbers.
Chapter04/compute/compute.go:5
Struct
Device
Device describes a GPU computing node.
Chapter04/compute/gpu/device.go:4
FuncType
DialFunc
DialFunc describes any function that can be invoked to dial a remote host.
Chapter04/dialer/retrying_dialer.go:24
Struct
DialerTestSuite
Chapter09/pincert/dialer/pinned_cert_test.go:24
Struct
DistributedGraphTestSuite
Chapter12/dbspgraph/integration_test.go:30
Struct
DistributedPageRankTestSuite
Chapter12/linksrus/pagerank/service/integration_test.go:28
Struct
Document
Document describes a web-oage whose content has been indexed by Links 'R' Us.
Chapter06/textindexer/index/doc.go:10
Struct
Document
Document represents an indexed document.
Chapter09/linksrus/textindexerapi/proto/api.pb.go:55
Struct
Edge
Edge describes a graph edge that originates from Src and terminates at Dst.
Chapter06/linkgraph/graph/graph.go:53
Struct
Edge
Edge describes an edge in the linkgraph.
Chapter09/linksrus/linkgraphapi/proto/api.pb.go:86
Struct
Edge
Edge represents a directed edge in the Graph.
Chapter08/bspgraph/graph.go:53
Interface
EdgeIterator
EdgeIterator is implemented by objects that can iterate the graph edges.
Chapter06/linkgraph/graph/graph.go:31
Struct
ElasticSearchIndexer
ElasticSearchIndexer is an Indexer implementation that uses an elastic search instance to catalogue and search documents.
Chapter06/textindexer/store/es/es.go:86
Struct
ElasticSearchTestSuite
Chapter06/textindexer/store/es/es_test.go:16
Struct
Executor
Executor wraps a Graph instance and provides an orchestration layer for executing super-steps until an error occurs or an exit condition is met. Users
Chapter08/bspgraph/executor.go:43
Struct
ExecutorCallbacks
ExecutorCallbacks encapsulates a series of callbacks that are invoked by an Executor instance on a graph. All callbacks are optional and will be ignor
Chapter08/bspgraph/executor.go:8
FuncType
ExecutorFactory
ExecutorFactory is a function that creates new Executor instances.
Chapter08/bspgraph/executor.go:37
Struct
Fixed
Fixed is a dummy PartitionDetector implementation that always returns back the same partition details.
Chapter10/linksrus/partition/detector.go:68
Struct
Float64Accumulator
Float64Accumulator implements a concurrent-safe accumulator for float64 values.
Chapter08/bspgraph/aggregator/accumulator.go:10
Struct
Flow
Flow implements the three-legged OAuth authentication flow.
Chapter09/oauthflow/auth/auth.go:47
Struct
FromSRVRecords
FromSRVRecords detects the number of partitions by performing an SRV query and counting the number of results.
Chapter10/linksrus/partition/detector.go:31
Struct
FrontendTestSuite
Chapter10/linksrus/service/frontend/frontend_test.go:20
Struct
Gateway
Gateway simulates an API gateway that would handle requests from a front-end.
Chapter11/tracing/service/gateway.go:14
Interface
Graph
Graph is implemented by objects that can upsert links and edges into a link graph instance.
Chapter07/crawler/crawler.go:29
Interface
Graph
Graph is implemented by objects that can mutate or query a link graph.
Chapter06/linkgraph/graph/graph.go:68
Struct
Graph
Graph implements a parallel graph processor based on the concepts described in the Pregel paper.
Chapter08/bspgraph/graph.go:69
Interface
GraphAPI
GraphAPI defines as set of API methods for fetching the links and edges from the link graph.
Chapter12/linksrus/pagerank/service/worker.go:21
Interface
GraphAPI
GraphAPI defines as set of API methods for adding links to the link graph.
Chapter10/linksrus/service/frontend/frontend.go:36
Interface
GraphAPI
go:generate mockgen -package mocks -destination mocks/mocks.go github.com/PacktPublishing/Hands-On-Software-Engineering-with-Golang/Chapter10/linksrus
Chapter10/linksrus/service/pagerank/pagerank.go:24
Interface
GraphAPI
go:generate mockgen -package mocks -destination mocks/mocks.go github.com/PacktPublishing/Hands-On-Software-Engineering-with-Golang/Chapter10/linksrus
Chapter10/linksrus/service/crawler/crawler.go:25
Struct
GraphConfig
GraphConfig encapsulates the configuration options for creating graphs.
Chapter08/bspgraph/config.go:10
Struct
GraphTestSuite
Chapter08/bspgraph/graph_test.go:22
Struct
GraphUpdaterTestSuite
Chapter07/crawler/graph_updater_test.go:17
TypeAlias
Group
Group is a list of Service instances that can execute in parallel.
Chapter10/linksrus/service/group.go:22
Struct
GroupTestSuite
Chapter10/linksrus/service/group_test.go:14
Struct
HighlightTestSuite
Chapter10/linksrus/service/frontend/highlighter_test.go:9
Struct
InMemoryBleveIndexer
InMemoryBleveIndexer is an Indexer implementation that uses an in-memory bleve instance to catalogue and search documents.
Chapter06/textindexer/store/memory/bleve.go:28
Struct
InMemoryBleveTestSuite
Chapter06/textindexer/store/memory/bleve_test.go:14
Struct
InMemoryGraph
InMemoryGraph implements an in-memory link graph that can be concurrently accessed by multiple clients.
Chapter06/linkgraph/store/memory/memory.go:20
Struct
InMemoryGraphTestSuite
Chapter06/linkgraph/store/memory/memory_test.go:14
Struct
InMemoryQueueTest
Chapter08/bspgraph/message/memory_queue_test.go:13
Struct
IncomingScoreMessage
IncomingScoreMessage is used for distributing PageRank scores to neighbors.
Chapter08/pagerank/compute.go:11
Interface
IndexAPI
IndexAPI defines a set of API methods for updating PageRank scores for indexed documents.
Chapter12/linksrus/pagerank/service/worker.go:28
Interface
IndexAPI
IndexAPI defines a set of API methods for searching crawled documents.
Chapter10/linksrus/service/frontend/frontend.go:41
Interface
IndexAPI
IndexAPI defines a set of API methods for updating PageRank scores for indexed documents.
Chapter10/linksrus/service/pagerank/pagerank.go:31
Interface
IndexAPI
IndexAPI defines a set of API methods for indexing crawled documents.
Chapter10/linksrus/service/crawler/crawler.go:33
Interface
Indexer
Indexer is implemented by objects that can index the contents of web-pages retrieved by the crawler pipeline.
Chapter07/crawler/crawler.go:43
Interface
Indexer
Indexer is implemented by objects that can index and search documents discovered by the Links 'R' Us crawler.
Chapter06/textindexer/index/indexer.go:7
Struct
IntAccumulator
IntAccumulator implements a concurrent-safe accumulator for int values.
Chapter08/bspgraph/aggregator/accumulator.go:84
Interface
Iterator
Iterator is implemented by graph objects that can be iterated.
Chapter06/linkgraph/graph/graph.go:10
Interface
Iterator
Iterator is implemented by objects that can paginate search results.
Chapter06/textindexer/index/indexer.go:26
Interface
Iterator
Iterator provides an API for iterating a list of messages.
Chapter08/bspgraph/message/message.go:28
Struct
JobDetails
JobDetails describes a job assigned by a master node to a worker.
Chapter12/dbspgraph/proto/api.pb.go:260
Interface
JobQueueClient
JobQueueClient is the client API for JobQueue service. For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.
Chapter12/dbspgraph/proto/api.pb.go:514
Interface
JobQueueServer
JobQueueServer is the server API for JobQueue service.
Chapter12/dbspgraph/proto/api.pb.go:562
Interface
JobQueue_JobStreamClient
Chapter12/dbspgraph/proto/api.pb.go:539
next →
1–100 of 345, ranked by callers