Documentation ¶
Index ¶
- Variables
- type File
- type Meta
- type Queue
- func (q *Queue) ClearCache() error
- func (q *Queue) Close() error
- func (q *Queue) Consume(group, topic string, id int64, limit int64, w http.ResponseWriter) (int, error)
- func (q *Queue) CreateTopic(topic string) error
- func (q *Queue) DeleteTopic(topic string) error
- func (q *Queue) ListTopics(regex *regexp.Regexp) ([]string, error)
- func (q *Queue) ModifyTopic(topic string, request headers.ModifyRequest) (*headers.TopicInfo, error)
- func (q *Queue) Produce(topic string, msgSizes []int64, timestamp uint64, r io.Reader) error
- func (q *Queue) RootDir() string
- func (q *Queue) WatchTopics(topics []string) (written, deleted chan string, closer io.Closer, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrFileClosed = errors.New("file closed")
Functions ¶
This section is empty.
Types ¶
type File ¶
func CreateFile ¶
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
func (*Queue) ClearCache ¶
func (*Queue) CreateTopic ¶
func (*Queue) DeleteTopic ¶
func (*Queue) ModifyTopic ¶
Click to show internal directories.
Click to hide internal directories.