Documentation ¶
Index ¶
- type Config
- type Session
- func (s *Session) ActivateAllDatasetData(dataset *upload.Upload) error
- func (s *Session) C() *mgo.Collection
- func (s *Session) Close()
- func (s *Session) CreateDataset(dataset *upload.Upload) error
- func (s *Session) CreateDatasetData(dataset *upload.Upload, datasetData []data.Datum) error
- func (s *Session) GetDataset(datasetID string) (*upload.Upload, error)
- func (s *Session) IsClosed() bool
- func (s *Session) RemoveAllOtherDatasetData(dataset *upload.Upload) error
- func (s *Session) UpdateDataset(dataset *upload.Upload) error
- type Status
- type Store
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Addresses string `yaml:"addresses"` // TODO: This should be an array, but configor does not support that. Bleech! Fix? Database string `yaml:"database"` Collection string `yaml:"collection"` Username *string `yaml:"username"` Password *string `yaml:"password"` Timeout *time.Duration `yaml:"timeout"` SSL bool `yaml:"ssl"` }
type Session ¶
type Session struct {
// contains filtered or unexported fields
}
func (*Session) ActivateAllDatasetData ¶
func (*Session) C ¶
func (s *Session) C() *mgo.Collection
func (*Session) CreateDatasetData ¶
func (*Session) RemoveAllOtherDatasetData ¶
Click to show internal directories.
Click to hide internal directories.