Name |
Synopsis |
.. |
twicedb-go
|
|
client
|
Package client provides a client library to interact with TwiceDB.
|
api
|
Package api defines the TwiceDB client API.
|
constants
|
Package constants defines constants used throughout the TwiceDB client API.
|
config
|
Package config provides ClientConfig to configure some Client behaviors.
|
impl
|
Package impl provides an implementation of the TwiceDB client.
|
metrics
|
Package metrics provides functions for storing and retrieving client metrics.
|
proxy
|
Package proxy provides a proxy to be used by the client to encapsulate common networking bits not specific to the TwiceDB client API.
|
shape_registry
|
Package shape_registry defines the ShapeRegistry that allows the TwiceDB client to modify object schemas.
|
shared
|
Package shared provides things that are used in several client modules.
|
txn
|
Package txn provides a struct and utilities for working with transactions in TwiceDB.
|
version
|
Package version provides a version id.
|
client_config
|
Package config provides utilities to access runtime configuration for the client in both environment variables (higher precedence) and configuration files (lower precedence).
|
examples
|
|
billing
|
Package main of billing provides an example of using a few of the high-level TwiceDB API methods to simulate managing contracts in their various stages of negotiation.
|
chat
|
Package main of chat provides an example of using subscriptions to exchange messages using the TwiceDB API with interop between languages providing the same Clazz.
|
lowlevel
|
Package main of lowlevel provides an example of using a few of the low-level TwiceDB API methods.
|
payments
|
Package main of payments provides an example of using a few of the high-level TwiceDB API methods to simulate a real task that a business might encounter.
|
performance
|
Package main of performance provides a TwiceDB benchmarking tool.
|
salaries
|
Package main of salaries provides an example of using a few of the high-level TwiceDB API methods to simulate managing payroll, salary changes, and backpay.
|
testscores
|
Package main of testscores provides an example of using a few of the TwiceDB API aggregation methods to calculate various statistics about students' performance on a test.
|
utils
|
Package utils provides utilities for the go-client TwiceDB examples.
|
gen
|
Package main of gen generates TwiceDB API methods for structs.
|
proto
|
|
server
|
|
backend
|
|
index
|
|
shared
|
Package shared provides structs and utilities that are shared between the client and the server.
|
entitlements
|
Package entitlements provides methods for adding and modifying entitlements to data stored in TwiceDB.
|
object_registry
|
Package object_registry defines the ObjectRegistry that allows the TwiceDB client to deserialize objects into the correct classes.
|