Documentation
¶
Index ¶
- type Config
- type SwiftContainer
- func (s *SwiftContainer) Batch() (ds.Batch, error)
- func (s *SwiftContainer) Close() error
- func (s *SwiftContainer) Delete(k ds.Key) error
- func (s *SwiftContainer) Get(k ds.Key) ([]byte, error)
- func (s *SwiftContainer) Has(k ds.Key) (bool, error)
- func (s *SwiftContainer) Put(k ds.Key, val []byte) error
- func (s *SwiftContainer) Query(q dsq.Query) (dsq.Results, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
swift.Connection
Container string
}
type SwiftContainer ¶
type SwiftContainer struct {
Config
// contains filtered or unexported fields
}
func NewSwiftDatastore ¶
func NewSwiftDatastore(conf Config) (*SwiftContainer, error)
func (*SwiftContainer) Close ¶
func (s *SwiftContainer) Close() error
Click to show internal directories.
Click to hide internal directories.
