Directories ¶
Path | Synopsis |
---|---|
Package coherence provides a set of functions and interfaces for Go programs to act as cache clients to a Coherence Cluster using gRPC for the network transport.
|
Package coherence provides a set of functions and interfaces for Go programs to act as cache clients to a Coherence Cluster using gRPC for the network transport. |
aggregators
Package aggregators provides various aggregator functions and types.
|
Package aggregators provides various aggregator functions and types. |
discovery
Package discovery provides an implementation of Coherence NSLookup.
|
Package discovery provides an implementation of Coherence NSLookup. |
extractors
Package extractors provides various extractor functions and types.
|
Package extractors provides various extractor functions and types. |
filters
Package filters provides various filter functions and types.
|
Package filters provides various filter functions and types. |
processors
Package processors provides various entry processor functions and types.
|
Package processors provides various entry processor functions and types. |
Package examples provides various examples using the coherence-go-client.
|
Package examples provides various examples using the coherence-go-client. |
aggregators
Package main shows aggregation examples using a NamedMap with key of int and value of Person struct.
|
Package main shows aggregation examples using a NamedMap with key of int and value of Person struct. |
basic/contains
Package main shows how to use ContainsKey, ContainsValue and ContainsEntry against a NamedCache.
|
Package main shows how to use ContainsKey, ContainsValue and ContainsEntry against a NamedCache. |
basic/crud
Package main shows how to carry out basic operations against a NamedMap with primitive types.
|
Package main shows how to carry out basic operations against a NamedMap with primitive types. |
basic/expiry
Package main shows how to put entries that expire in a NamedCache.
|
Package main shows how to put entries that expire in a NamedCache. |
basic/expiry_cache
Package main shows how to put entries that expire in a NamedCache using the coherence.WithExpiry option.
|
Package main shows how to put entries that expire in a NamedCache using the coherence.WithExpiry option. |
basic/near_cache/high_units
Package main shows how to use a near cache with a NamedMap or NamedCache with high units of 1000.
|
Package main shows how to use a near cache with a NamedMap or NamedCache with high units of 1000. |
basic/near_cache/memory
Package main shows how to use a near cache with a NamedMap or NamedCache with high units memory of 10k.
|
Package main shows how to use a near cache with a NamedMap or NamedCache with high units memory of 10k. |
basic/near_cache/ttl
Package main shows how to use a near cache with a NamedMap or NamedCache with an expiry of 10 seconds.
|
Package main shows how to use a near cache with a NamedMap or NamedCache with an expiry of 10 seconds. |
basic/struct
Package main shows how to carry out basic operations against a NamedMap with a key of int and value of Person struct.
|
Package main shows how to carry out basic operations against a NamedMap with a key of int and value of Person struct. |
basic/struct_keys
Package main shows how to carry out basic operations against a NamedMap where a key and value are structs.
|
Package main shows how to carry out basic operations against a NamedMap where a key and value are structs. |
events
Package events shows examples using events.
|
Package events shows examples using events. |
events/cache
Package cache shows examples using MapEvents.
|
Package cache shows examples using MapEvents. |
events/cache/all
Package main shows how to listen for all events on a NamedMap or NamedCache.
|
Package main shows how to listen for all events on a NamedMap or NamedCache. |
events/cache/delete
Package main shows how to listen for delete events on a NamedMap or NamedCache.
|
Package main shows how to listen for delete events on a NamedMap or NamedCache. |
events/cache/filters
Package main shows how to listen for all events on a NamedMap or NamedCache using filters.
|
Package main shows how to listen for all events on a NamedMap or NamedCache using filters. |
events/cache/insert
Package main shows how to listen for insert events on a NamedMap or NamedCache.
|
Package main shows how to listen for insert events on a NamedMap or NamedCache. |
events/cache/key
Package main shows how to listen for events on a NamedMap or NamedCache for a specific key.
|
Package main shows how to listen for events on a NamedMap or NamedCache for a specific key. |
events/cache/people_insert
Package main inserts entries into a people NamedMap insert PutAll().
|
Package main inserts entries into a people NamedMap insert PutAll(). |
events/cache/people_listen
Package main listens for all events on a NamedMap or NamedCache.
|
Package main listens for all events on a NamedMap or NamedCache. |
events/cache/update
Package main shows how to listen for update events on a NamedMap or NamedCache.
|
Package main shows how to listen for update events on a NamedMap or NamedCache. |
events/lifecycle/all
Package main shows how to listen for all lifecycle events on a NamedMap or NamedCache.
|
Package main shows how to listen for all lifecycle events on a NamedMap or NamedCache. |
events/lifecycle/destroyed
Package main shows how to listen for destroyed events on a NamedMap or NamedCache.
|
Package main shows how to listen for destroyed events on a NamedMap or NamedCache. |
events/lifecycle/released
Package main shows how to listen for released events on a NamedMap or NamedCache.
|
Package main shows how to listen for released events on a NamedMap or NamedCache. |
events/lifecycle/truncated
Package main shows how to listen for truncated events on a NamedMap or NamedCache.
|
Package main shows how to listen for truncated events on a NamedMap or NamedCache. |
events/session/all
Package main shows how to listen for all session events on a NamedMap or NamedCache.
|
Package main shows how to listen for all session events on a NamedMap or NamedCache. |
indexes
Package main shows examples using indexes.
|
Package main shows examples using indexes. |
processors/blind
Package main shows how to run processors against a NamedMap or NamedCache using the *Blind utilities methods.
|
Package main shows how to run processors against a NamedMap or NamedCache using the *Blind utilities methods. |
processors/standard
Package main shows how to run processors against a NamedMap or NamedCache.
|
Package main shows how to run processors against a NamedMap or NamedCache. |
querying
Package main shows how to run open-ended queries against a NamedMap or NamedCache using keys.
|
Package main shows how to run open-ended queries against a NamedMap or NamedCache using keys. |
querying/filters
Package main shows how to run queries against a NamedMap or NamedCache using filters.
|
Package main shows how to run queries against a NamedMap or NamedCache using filters. |
querying/keys
Package main shows how to run queries against a NamedMap or NamedCache using keys.
|
Package main shows how to run queries against a NamedMap or NamedCache using keys. |
queues
Package main shows examples using queues.
|
Package main shows examples using queues. |
queues/blocking/processor
Package main shows how to use a blocking queue.
|
Package main shows how to use a blocking queue. |
queues/blocking/publisher
Package main shows how to use a blocking queue.
|
Package main shows how to use a blocking queue. |
queues/blocking/subscriber
Package main shows how to use a blocking queue.
|
Package main shows how to use a blocking queue. |
queues/standard
Package main shows how to use queues.
|
Package main shows how to use queues. |
rest
Package main starts a listener on port localhost:17268 which provides a basic REST API providing POST, GET, PUT and DELETE operations against a NamedMap.
|
Package main starts a listener on port localhost:17268 which provides a basic REST API providing POST, GET, PUT and DELETE operations against a NamedMap. |
Package proto contains automatically generated gRPC code.
|
Package proto contains automatically generated gRPC code. |
Package test provides tests for the coherence-go-client.
|
Package test provides tests for the coherence-go-client. |
e2e/queues
Package queues provides integration tests for the coherence-go-client with queues for 24.03 and above.
|
Package queues provides integration tests for the coherence-go-client with queues for 24.03 and above. |
e2e/scope
Package scope provides integration tests for the coherence-go-client with scope set.
|
Package scope provides integration tests for the coherence-go-client with scope set. |
e2e/standalone
Package standalone provides integration tests for the coherence-go-client.
|
Package standalone provides integration tests for the coherence-go-client. |
utils
Package utils provides various utilities for testing the coherence-go-client.
|
Package utils provides various utilities for testing the coherence-go-client. |
Click to show internal directories.
Click to hide internal directories.