(listImpl ListImplementationType)
| 131 | } |
| 132 | |
| 133 | func NewList(listImpl ListImplementationType) *List { |
| 134 | return &List{ |
| 135 | Items: make(map[string]ListStructure), |
| 136 | TTL: make(map[string]uint32), |
| 137 | TimeStamp: make(map[string]uint64), |
| 138 | Seq: make(map[string]*HeadTailSeq), |
| 139 | ListImpl: listImpl, |
| 140 | } |
| 141 | } |
| 142 | |
| 143 | // CreateListStructure creates a new list storage structure based on configuration. |
| 144 | func (l *List) CreateListStructure() ListStructure { |
no outgoing calls