Documentation ¶
Index ¶
- Constants
- Variables
- type Client
- type Session
- func (s *Session) Begin(ctx context.Context, txSettings query.TransactionSettings) (query.Transaction, error)
- func (s *Session) Close(ctx context.Context) error
- func (s *Session) Execute(ctx context.Context, q string, opts ...options.ExecuteOption) (query.Transaction, query.Result, error)
- func (s *Session) ID() string
- func (s *Session) NodeID() int64
- func (s *Session) Status() string
Constants ¶
View Source
const ( SessionStatusUnknown = sessionStatus(iota) SessionStatusReady SessionStatusInUse SessionStatusClosed )
Variables ¶
View Source
var (
ErrNotImplemented = errors.New("not implemented yet")
)
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (Client) DoTx ¶
func (c Client) DoTx(ctx context.Context, op query.TxOperation, opts ...options.DoTxOption) error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.