Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/goinaction/code
/ types & classes
Types & classes
81 in github.com/goinaction/code
⨍
Functions
192
◇
Types & classes
81
↓ 1 callers
TypeAlias
alertCounter
alertCounter is an unexported type that contains an integer counter for alerts.
chapter5/listing68/counters/counters.go:6
↓ 1 callers
TypeAlias
duration
duration is a type with a base type of int.
chapter5/listing46/listing46.go:8
Struct
Admin
Admin defines an admin in the program.
chapter5/listing74/entities/entities.go:12
Struct
Channel
Channel defines the fields associated with the channel tag in the buoy RSS document.
chapter9/listing12/listing12_test.go:103
Struct
Contact
Contact represents our JSON string.
chapter8/listing27/listing27.go:11
Struct
Data
============================================================================= Data is the structure of the data we are copying.
chapter10/listing03/listing03.go:19
Struct
Data
============================================================================= Data is the structure of the data we are copying.
chapter10/listing02/listing02.go:19
Struct
Data
============================================================================= Data is the structure of the data we are copying.
chapter10/listing01/listing01.go:19
Struct
Data
============================================================================= Data is the structure of the data we are copying.
chapter10/listing04/listing04.go:19
Struct
Document
Document defines the fields associated with the buoy RSS document.
chapter9/listing12/listing12_test.go:113
Struct
Feed
Feed contains information we need to process a feed.
chapter2/sample/search/feed.go:11
Struct
Item
Item defines the fields associated with the item tag in the buoy RSS document.
chapter9/listing12/listing12_test.go:94
Interface
Locker
Locker provides support for locking and unlocking things.
chapter10/listing05/listing05.go:15
Interface
Matcher
Matcher defines the behavior required by types that want to implement a new search type.
chapter2/sample/search/match.go:15
Interface
MoveLocker
MoveLocker provides support for moving and locking things.
chapter10/listing05/listing05.go:21
Interface
Mover
============================================================================= Mover provides support for moving things.
chapter10/listing05/listing05.go:10
Struct
Pillar
Pillar is a system we need to store data into.
chapter10/listing03/listing03.go:63
Struct
Pillar
Pillar is a system we need to store data into.
chapter10/listing02/listing02.go:57
Struct
Pillar
Pillar is a system we need to store data into.
chapter10/listing01/listing01.go:45
Struct
Pillar
Pillar is a system we need to store data into.
chapter10/listing04/listing04.go:63
Struct
Pool
Pool provides a pool of goroutines that can execute any Worker tasks that are submitted.
chapter7/patterns/work/work.go:15
Struct
Pool
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
Struct
PostgresDriver
PostgresDriver provides our implementation for the sql package.
chapter3/dbdriver/postgres/postgres.go:11
Struct
PubSub
PubSub provides access to a queue system.
chapter10/listing06/pubsub/pubsub.go:6
Interface
PullStorer
PullStorer declares behavior for both pulling and storing.
chapter10/listing03/listing03.go:36
Interface
PullStorer
PullStorer declares behavior for both pulling and storing.
chapter10/listing04/listing04.go:36
Interface
Puller
============================================================================= Puller declares behavior for pulling data.
chapter10/listing03/listing03.go:26
Interface
Puller
============================================================================= Puller declares behavior for pulling data.
chapter10/listing02/listing02.go:26
Interface
Puller
============================================================================= Puller declares behavior for pulling data.
chapter10/listing04/listing04.go:26
Struct
Result
Result represents a search result that was found.
chapter7/patterns/search/search.go:8
Struct
Result
Result contains the result of a search.
chapter2/sample/search/match.go:8
Struct
Runner
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
Interface
Searcher
Searcher declares an interface used to leverage different search engines to find results.
chapter7/patterns/search/search.go:17
Interface
Storer
Storer declares behavior for storing data.
chapter10/listing03/listing03.go:31
Interface
Storer
Storer declares behavior for storing data.
chapter10/listing02/listing02.go:31
Interface
Storer
Storer declares behavior for storing data.
chapter10/listing04/listing04.go:31
Struct
System
============================================================================= System wraps Xenia and Pillar together into a single system.
chapter10/listing03/listing03.go:74
Struct
System
============================================================================= System wraps Xenia and Pillar together into a single system.
chapter10/listing02/listing02.go:68
Struct
System
============================================================================= System wraps Xenia and Pillar together into a single system.
chapter10/listing01/listing01.go:56
Struct
System
============================================================================= System wraps Pullers and Stores together into a single system.
chapter10/listing04/listing04.go:74
Struct
User
User defines a user in the program.
chapter5/listing71/entities/entities.go:6
Interface
Worker
Worker must be implemented by types that want to use the work pool.
chapter7/patterns/work/work.go:9
Struct
Xenia
============================================================================= Xenia is a system we need to pull data from.
chapter10/listing03/listing03.go:44
Struct
Xenia
============================================================================= Xenia is a system we need to pull data from.
chapter10/listing02/listing02.go:38
Struct
Xenia
============================================================================= Xenia is a system we need to pull data from.
chapter10/listing01/listing01.go:26
Struct
Xenia
============================================================================= Xenia is a system we need to pull data from.
chapter10/listing04/listing04.go:44
Struct
admin
admin represents an admin user with privileges.
chapter5/listing50/listing50.go:24
Struct
admin
admin represents an admin user with privileges.
chapter5/listing56/listing56.go:29
Struct
admin
admin defines a admin in the program.
chapter5/listing48/listing48.go:28
Struct
admin
admin represents an admin user with privileges.
chapter5/listing60/listing60.go:30
TypeAlias
alertCounter
alertCounter is an unexported type that contains an integer counter for alerts.
chapter5/listing64/counters/counters.go:6
Struct
bike
============================================================================= bike represents a concrete type for the example.
chapter10/listing05/listing05.go:29
Struct
bing
Bing provides support for Bing searches.
chapter7/patterns/search/searchers.go:43
Struct
channel
channel defines the fields associated with the channel tag in the rss document.
chapter2/sample/matchers/rss.go:38
Struct
dbConnection
dbConnection simulates a resource to share.
chapter7/patterns/pool/main/main.go:22
Struct
defaultMatcher
defaultMatcher implements the default matcher.
chapter2/sample/search/default.go:4
Struct
gResponse
gResponse contains the top level document.
chapter8/listing24/listing24.go:26
Struct
gResult
gResult maps to the result document received from the search.
chapter8/listing24/listing24.go:14
Struct
google
Google provides support for Google searches.
chapter7/patterns/search/searchers.go:17
Struct
image
image defines the fields associated with the image tag in the rss document.
chapter2/sample/matchers/rss.go:29
Struct
item
item defines the fields associated with the item tag in the rss document.
chapter2/sample/matchers/rss.go:17
Struct
mock
mock is a concrete type to help support the mocking of the pubsub package.
chapter10/listing06/listing06.go:18
Struct
namePrinter
namePrinter provides special support for printing names.
chapter7/patterns/work/main/main.go:23
Interface
notifier
notifier is an interface that defined notification type behavior.
chapter5/listing56/listing56.go:10
Interface
notifier
notifier is an interface that defines notification type behavior.
chapter5/listing48/listing48.go:10
Interface
notifier
notifier is an interface that defined notification type behavior.
chapter5/listing60/listing60.go:11
Interface
notifier
notifier is an interface that defined notification type behavior.
chapter5/listing36/listing36.go:10
Interface
publisher
publisher is an interface to allow this package to mock the pubsub package support.
chapter10/listing06/listing06.go:11
Struct
readerWriter
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
Struct
rssDocument
rssDocument defines the fields associated with the rss document.
chapter2/sample/matchers/rss.go:54
Struct
rssMatcher
rssMatcher implements the Matcher interface.
chapter2/sample/matchers/rss.go:61
Struct
searchSession
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
TypeAlias
semaphore
semaphore type represents a channel that implements the semaphore pattern.
chapter7/patterns/semaphore/semaphore.go:22
Struct
user
user defines a user in the program.
chapter5/listing74/entities/entities.go:6
Struct
user
user defines a user in the program.
chapter5/listing50/listing50.go:10
Struct
user
user defines a user in the program.
chapter5/listing56/listing56.go:15
Struct
user
user defines a user in the program.
chapter5/listing48/listing48.go:15
Struct
user
user defines a user in the program.
chapter5/listing60/listing60.go:16
Struct
user
user defines a user in the program.
chapter5/listing11/listing11.go:10
Struct
user
user defines a user in the program.
chapter5/listing36/listing36.go:15
Struct
yahoo
Yahoo provides support for Yahoo searches.
chapter7/patterns/search/searchers.go:69