Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BtDialer ¶
BtDialer encapsulates making a connection to your bigtable. This way you can use any means for dialing/ getting credentials.
type RotatingTable ¶
RotatingTable is a bigtable.Table that automatically reconnects to Cloud Bigtable at a given interval.
func NewRotatingTable ¶
NewRotatingTable makes a new Table reference that will refresh itself in the background at the given interval.
func (RotatingTable) BackgroundErrors ¶
func (r RotatingTable) BackgroundErrors() <-chan error
BackgroundErrors is a channel that will propagate errors that come from refreshing the connection. It can either be checked with select before performing ops or watched in a background thread.
func (RotatingTable) Close ¶
func (r RotatingTable) Close()
Close will close the connections and stop rotating.
Click to show internal directories.
Click to hide internal directories.