MCPcopy Create free account

hub / github.com/goinaction/code / types & classes

Types & classes81 in github.com/goinaction/code

↓ 1 callersTypeAliasalertCounter
alertCounter is an unexported type that contains an integer counter for alerts.
chapter5/listing68/counters/counters.go:6
↓ 1 callersTypeAliasduration
duration is a type with a base type of int.
chapter5/listing46/listing46.go:8
StructAdmin
Admin defines an admin in the program.
chapter5/listing74/entities/entities.go:12
StructChannel
Channel defines the fields associated with the channel tag in the buoy RSS document.
chapter9/listing12/listing12_test.go:103
StructContact
Contact represents our JSON string.
chapter8/listing27/listing27.go:11
StructData
============================================================================= Data is the structure of the data we are copying.
chapter10/listing03/listing03.go:19
StructData
============================================================================= Data is the structure of the data we are copying.
chapter10/listing02/listing02.go:19
StructData
============================================================================= Data is the structure of the data we are copying.
chapter10/listing01/listing01.go:19
StructData
============================================================================= Data is the structure of the data we are copying.
chapter10/listing04/listing04.go:19
StructDocument
Document defines the fields associated with the buoy RSS document.
chapter9/listing12/listing12_test.go:113
StructFeed
Feed contains information we need to process a feed.
chapter2/sample/search/feed.go:11
StructItem
Item defines the fields associated with the item tag in the buoy RSS document.
chapter9/listing12/listing12_test.go:94
InterfaceLocker
Locker provides support for locking and unlocking things.
chapter10/listing05/listing05.go:15
InterfaceMatcher
Matcher defines the behavior required by types that want to implement a new search type.
chapter2/sample/search/match.go:15
InterfaceMoveLocker
MoveLocker provides support for moving and locking things.
chapter10/listing05/listing05.go:21
InterfaceMover
============================================================================= Mover provides support for moving things.
chapter10/listing05/listing05.go:10
StructPillar
Pillar is a system we need to store data into.
chapter10/listing03/listing03.go:63
StructPillar
Pillar is a system we need to store data into.
chapter10/listing02/listing02.go:57
StructPillar
Pillar is a system we need to store data into.
chapter10/listing01/listing01.go:45
StructPillar
Pillar is a system we need to store data into.
chapter10/listing04/listing04.go:63
StructPool
Pool provides a pool of goroutines that can execute any Worker tasks that are submitted.
chapter7/patterns/work/work.go:15
StructPool
Pool manages a set of resources that can be shared safely by multiple goroutines. The resource being managed must implement the io.Closer interface.
chapter7/patterns/pool/pool.go:15
StructPostgresDriver
PostgresDriver provides our implementation for the sql package.
chapter3/dbdriver/postgres/postgres.go:11
StructPubSub
PubSub provides access to a queue system.
chapter10/listing06/pubsub/pubsub.go:6
InterfacePullStorer
PullStorer declares behavior for both pulling and storing.
chapter10/listing03/listing03.go:36
InterfacePullStorer
PullStorer declares behavior for both pulling and storing.
chapter10/listing04/listing04.go:36
InterfacePuller
============================================================================= Puller declares behavior for pulling data.
chapter10/listing03/listing03.go:26
InterfacePuller
============================================================================= Puller declares behavior for pulling data.
chapter10/listing02/listing02.go:26
InterfacePuller
============================================================================= Puller declares behavior for pulling data.
chapter10/listing04/listing04.go:26
StructResult
Result represents a search result that was found.
chapter7/patterns/search/search.go:8
StructResult
Result contains the result of a search.
chapter2/sample/search/match.go:8
StructRunner
Runner runs a set of tasks within a given timeout and can be shut down on an operating system interrupt.
chapter7/patterns/runner/runner.go:14
InterfaceSearcher
Searcher declares an interface used to leverage different search engines to find results.
chapter7/patterns/search/search.go:17
InterfaceStorer
Storer declares behavior for storing data.
chapter10/listing03/listing03.go:31
InterfaceStorer
Storer declares behavior for storing data.
chapter10/listing02/listing02.go:31
InterfaceStorer
Storer declares behavior for storing data.
chapter10/listing04/listing04.go:31
StructSystem
============================================================================= System wraps Xenia and Pillar together into a single system.
chapter10/listing03/listing03.go:74
StructSystem
============================================================================= System wraps Xenia and Pillar together into a single system.
chapter10/listing02/listing02.go:68
StructSystem
============================================================================= System wraps Xenia and Pillar together into a single system.
chapter10/listing01/listing01.go:56
StructSystem
============================================================================= System wraps Pullers and Stores together into a single system.
chapter10/listing04/listing04.go:74
StructUser
User defines a user in the program.
chapter5/listing71/entities/entities.go:6
InterfaceWorker
Worker must be implemented by types that want to use the work pool.
chapter7/patterns/work/work.go:9
StructXenia
============================================================================= Xenia is a system we need to pull data from.
chapter10/listing03/listing03.go:44
StructXenia
============================================================================= Xenia is a system we need to pull data from.
chapter10/listing02/listing02.go:38
StructXenia
============================================================================= Xenia is a system we need to pull data from.
chapter10/listing01/listing01.go:26
StructXenia
============================================================================= Xenia is a system we need to pull data from.
chapter10/listing04/listing04.go:44
Structadmin
admin represents an admin user with privileges.
chapter5/listing50/listing50.go:24
Structadmin
admin represents an admin user with privileges.
chapter5/listing56/listing56.go:29
Structadmin
admin defines a admin in the program.
chapter5/listing48/listing48.go:28
Structadmin
admin represents an admin user with privileges.
chapter5/listing60/listing60.go:30
TypeAliasalertCounter
alertCounter is an unexported type that contains an integer counter for alerts.
chapter5/listing64/counters/counters.go:6
Structbike
============================================================================= bike represents a concrete type for the example.
chapter10/listing05/listing05.go:29
Structbing
Bing provides support for Bing searches.
chapter7/patterns/search/searchers.go:43
Structchannel
channel defines the fields associated with the channel tag in the rss document.
chapter2/sample/matchers/rss.go:38
StructdbConnection
dbConnection simulates a resource to share.
chapter7/patterns/pool/main/main.go:22
StructdefaultMatcher
defaultMatcher implements the default matcher.
chapter2/sample/search/default.go:4
StructgResponse
gResponse contains the top level document.
chapter8/listing24/listing24.go:26
StructgResult
gResult maps to the result document received from the search.
chapter8/listing24/listing24.go:14
Structgoogle
Google provides support for Google searches.
chapter7/patterns/search/searchers.go:17
Structimage
image defines the fields associated with the image tag in the rss document.
chapter2/sample/matchers/rss.go:29
Structitem
item defines the fields associated with the item tag in the rss document.
chapter2/sample/matchers/rss.go:17
Structmock
mock is a concrete type to help support the mocking of the pubsub package.
chapter10/listing06/listing06.go:18
StructnamePrinter
namePrinter provides special support for printing names.
chapter7/patterns/work/main/main.go:23
Interfacenotifier
notifier is an interface that defined notification type behavior.
chapter5/listing56/listing56.go:10
Interfacenotifier
notifier is an interface that defines notification type behavior.
chapter5/listing48/listing48.go:10
Interfacenotifier
notifier is an interface that defined notification type behavior.
chapter5/listing60/listing60.go:11
Interfacenotifier
notifier is an interface that defined notification type behavior.
chapter5/listing36/listing36.go:10
Interfacepublisher
publisher is an interface to allow this package to mock the pubsub package support.
chapter10/listing06/listing06.go:11
StructreaderWriter
readerWriter provides a structure for safely reading and writing a shared resource. It supports multiple readers and a single writer goroutine using a
chapter7/patterns/semaphore/semaphore.go:28
StructrssDocument
rssDocument defines the fields associated with the rss document.
chapter2/sample/matchers/rss.go:54
StructrssMatcher
rssMatcher implements the Matcher interface.
chapter2/sample/matchers/rss.go:61
StructsearchSession
searchSession holds information about the current search submission. It contains options, searchers and a channel down which we will receive results.
chapter7/patterns/search/search.go:24
TypeAliassemaphore
semaphore type represents a channel that implements the semaphore pattern.
chapter7/patterns/semaphore/semaphore.go:22
Structuser
user defines a user in the program.
chapter5/listing74/entities/entities.go:6
Structuser
user defines a user in the program.
chapter5/listing50/listing50.go:10
Structuser
user defines a user in the program.
chapter5/listing56/listing56.go:15
Structuser
user defines a user in the program.
chapter5/listing48/listing48.go:15
Structuser
user defines a user in the program.
chapter5/listing60/listing60.go:16
Structuser
user defines a user in the program.
chapter5/listing11/listing11.go:10
Structuser
user defines a user in the program.
chapter5/listing36/listing36.go:15
Structyahoo
Yahoo provides support for Yahoo searches.
chapter7/patterns/search/searchers.go:69