remove old code

This commit is contained in:
chrislu
2022-07-10 01:36:23 -07:00
parent f25e273e32
commit 8060fdcac5
25 changed files with 299 additions and 3522 deletions

23
weed/mq/topic.go Normal file
View File

@@ -0,0 +1,23 @@
package mq
import "time"
type Namespace string
type Topic struct {
namespace Namespace
name string
}
type Partition struct {
rangeStart int
rangeStop int // exclusive
ringSize int
}
type Segment struct {
topic Topic
id int32
partition Partition
lastModified time.Time
}