Documentation ¶ Index ¶ type Head type Reel func (r *Reel) List(thread string, from, to time.Time, limit int) ([]Head, error) func (r *Reel) ListThreads() ([]string, error) func (r *Reel) Receive(id uint64, from, to int) error func (r *Reel) Send(thread string, name string) error type ReelPart Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Head ¶ type Head struct { Id uint64 `json:"id,string"` Name string `json:"name"` Author string `json:"author"` Time time.Time `json:"time"` ContentType string `json:"contentType"` Thumbnail []byte `json:"thumbnail"` } type Reel ¶ type Reel struct { Pool *pool.Pool Name string } func (*Reel) List ¶ func (r *Reel) List(thread string, from, to time.Time, limit int) ([]Head, error) func (*Reel) ListThreads ¶ func (r *Reel) ListThreads() ([]string, error) func (*Reel) Receive ¶ func (r *Reel) Receive(id uint64, from, to int) error func (*Reel) Send ¶ func (r *Reel) Send(thread string, name string) error type ReelPart ¶ type ReelPart []byte Source Files ¶ View all Source files db.go reel.go Click to show internal directories. Click to hide internal directories.