Documentation ¶
Index ¶
- Variables
- type Client
- type Session
- func (s *Session) Begin(ctx context.Context, txSettings query.TransactionSettings) (_ query.Transaction, err error)
- func (s *Session) Close(ctx context.Context) (err error)
- func (s *Session) Execute(ctx context.Context, q string, opts ...options.ExecuteOption) (_ query.Transaction, _ query.Result, err error)
- func (s *Session) ID() string
- func (s *Session) IsAlive() bool
- func (s *Session) NodeID() int64
- func (s *Session) Status() string
Constants ¶
This section is empty.
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) (err error)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.