drop

package
v0.0.0-...-ff3239a Latest Latest
Warning

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

Go to latest
Published: May 11, 2015 License: BSD-3-Clause Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MaximumMessageSize = 4096
)

Variables

This section is empty.

Functions

func DropServer

func DropServer(capacity int, baseDir string) http.Handler

Types

type Drop

type Drop struct {
	Id string
}

func (Drop) Verify

func (d Drop) Verify() bool

type DropManager

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

func NewManager

func NewManager(capacity int, baseDir string) DropManager

func (*DropManager) Request

func (server *DropManager) Request(drop Drop) ([]string, error)

func (*DropManager) RequestSince

func (server *DropManager) RequestSince(drop Drop, since time.Time) ([]string, error)

func (*DropManager) Submit

func (server *DropManager) Submit(drop Drop, data io.Reader) error

type MessageSizeExceededError

type MessageSizeExceededError struct{}

func (MessageSizeExceededError) Error

func (m MessageSizeExceededError) Error() string

Jump to

Keyboard shortcuts

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