Documentation
¶
Index ¶
- type Pool
- type ReadRoutingTableError
- type Router
- func (r *Router) CleanUp()
- func (r *Router) Context() map[string]string
- func (r *Router) GetNameOfDefaultDatabase(ctx context.Context, bookmarks []string, user string, ...) (string, error)
- func (r *Router) Invalidate(database string)
- func (r *Router) Readers(ctx context.Context, bookmarks []string, database string, ...) ([]string, error)
- func (r *Router) Writers(ctx context.Context, bookmarks []string, database string, ...) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pool ¶
type Pool interface { Borrow(ctx context.Context, servers []string, wait bool, boltLogger log.BoltLogger) (idb.Connection, error) Return(c idb.Connection) }
type ReadRoutingTableError ¶
type ReadRoutingTableError struct {
// contains filtered or unexported fields
}
func (*ReadRoutingTableError) Error ¶
func (e *ReadRoutingTableError) Error() string
type Router ¶
type Router struct {
// contains filtered or unexported fields
}
Thread safe
func (*Router) GetNameOfDefaultDatabase ¶ added in v4.4.0
func (*Router) Invalidate ¶
Click to show internal directories.
Click to hide internal directories.