remove old code
This commit is contained in:
23
weed/mq/topic.go
Normal file
23
weed/mq/topic.go
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user