data

package
v0.0.0-...-67a0ee0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2015 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Account

type Account struct {
	// contains filtered or unexported fields
}

type Data

type Data struct {
	ThreadCount int
	PostCount   int
	SameThread  map[int][]*Post
	SameAccount map[string][]*Post
	OldPosts    map[*Post]*time.Time

	ChThreadCount chan int
	ChPostCount   chan int
	ChSameThread  chan struct {
		Tid int
		Ptr *Post
	}
	ChSameAccount chan struct {
		Un  string
		Ptr *Post
	}
	ChOldPosts chan struct {
		Ptr      *Post
		Interval *time.Time
	}
}

func NewData

func NewData() *Data

type Post

type Post struct {
	PostType int
	Title    string
	Content  string
	Author   string
}

Jump to

Keyboard shortcuts

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