post

package
v0.0.0-...-ffe3fa0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2013 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Next = iota
	Continue
	Stop
	Error
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Flow

type Flow int

type PartParser

type PartParser interface {
	Parse(post *Post, raw []byte) Flow
	Err() error
}

type Post

type Post struct {
	Id       int
	Bid      int
	Receiver string
	Sender   string
	Subject  string
	Date     time.Time
	Content  string
	Link     string
}

type PostParser

type PostParser interface {
	Parse(reader io.Reader) *Post
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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