Documentation ¶
Index ¶
- type CollectionManager
- func (cm *CollectionManager) Connect(host string, options *core.Options) error
- func (cm *CollectionManager) Disconnect()
- func (cm *CollectionManager) GetCollection(collectionID string) (*types.Collection, error)
- func (cm *CollectionManager) GetCollections() ([]*types.Collection, error)
- func (cm *CollectionManager) GetEndpoint() (*core.Endpoint, error)
- func (cm *CollectionManager) Register(collection *types.Collection) error
- func (cm *CollectionManager) Unregister(collectionID string) error
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CollectionManager ¶
type CollectionManager struct {
// contains filtered or unexported fields
}
func NewCollectionManager ¶
func NewCollectionManager(options *Options) *CollectionManager
func NewCollectionManagerWithClient ¶
func NewCollectionManagerWithClient(client *core.Client, options *Options) *CollectionManager
func (*CollectionManager) Connect ¶
func (cm *CollectionManager) Connect(host string, options *core.Options) error
func (*CollectionManager) Disconnect ¶
func (cm *CollectionManager) Disconnect()
func (*CollectionManager) GetCollection ¶
func (cm *CollectionManager) GetCollection(collectionID string) (*types.Collection, error)
func (*CollectionManager) GetCollections ¶
func (cm *CollectionManager) GetCollections() ([]*types.Collection, error)
func (*CollectionManager) GetEndpoint ¶
func (cm *CollectionManager) GetEndpoint() (*core.Endpoint, error)
func (*CollectionManager) Register ¶
func (cm *CollectionManager) Register(collection *types.Collection) error
func (*CollectionManager) Unregister ¶
func (cm *CollectionManager) Unregister(collectionID string) error
Click to show internal directories.
Click to hide internal directories.