Documentation ¶
Index ¶
- type IRepo
- type Repo
- func (r *Repo) CreateCollection(scope, name string) error
- func (r *Repo) CreateIndex(query string) error
- func (r *Repo) CreateScope(name string) error
- func (r *Repo) GetAllScopes() ([]gocb.ScopeSpec, error)
- func (r *Repo) Init(uri string, opts *option.Options) error
- func (r *Repo) UpsertData(scope, collection string, docs []gocb.BulkOp) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IRepo ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
func (*Repo) CreateCollection ¶
func (*Repo) CreateIndex ¶
func (*Repo) CreateScope ¶
func (*Repo) GetAllScopes ¶
func (*Repo) UpsertData ¶
Click to show internal directories.
Click to hide internal directories.