(options config.Options)
| 24 | type FSets map[string]struct{} |
| 25 | |
| 26 | func NewSetStructure(options config.Options) (*SetStructure, error) { |
| 27 | db, err := engine.NewDB(options) |
| 28 | if err != nil { |
| 29 | return nil, err |
| 30 | } |
| 31 | return &SetStructure{db: db}, nil |
| 32 | } |
| 33 | |
| 34 | // SAdd adds a member to the set stored at key. |
| 35 | // |