API​
type Client​
Client is a connection pool and is safe for concurrent use.
type Client = gel.Client
type ErrorCategory​
ErrorCategory values represent Gel's error types.
type ErrorCategory = gel.ErrorCategory
type Executor​
Executor is a common interface between *Client and *Tx, that can run queries on an Gel database.
type Executor = gel.Executor
type IsolationLevel​
IsolationLevel documentation can be found here docs/reference/edgeql/tx_start#parameters
type IsolationLevel = gel.IsolationLevel
type ModuleAlias​
ModuleAlias is an alias name and module name pair.
type ModuleAlias = gel.ModuleAlias
type RetryBackoff​
RetryBackoff returns the duration to wait after the nth attempt before making the next attempt when retrying a transaction.
type RetryBackoff = gel.RetryBackoff
type RetryCondition​
RetryCondition represents scenarios that can cause a transaction run in Tx() methods to be retried.
type RetryCondition = gel.RetryCondition
type RetryOptions​
RetryOptions configures how Tx() retries failed transactions. Use NewRetryOptions to get a default RetryOptions value instead of creating one yourself.
type RetryOptions = gel.RetryOptions
type RetryRule​
RetryRule determines how transactions should be retried when run in Tx() methods. See Client.Tx() for details.
type RetryRule = gel.RetryRule
type TLSOptions​
TLSOptions contains the parameters needed to configure TLS on Gel server connections.
type TLSOptions = gel.TLSOptions
type TLSSecurityMode​
TLSSecurityMode specifies how strict TLS validation is.
type TLSSecurityMode = gel.TLSSecurityMode