reel

package
v0.0.0-...-8027ee6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 7, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL