upload

package
v0.5.29 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2022 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type UploadChannel

type UploadChannel struct {
	channel.NoSave
	channel.Limit
	channel.NoRunClose
	// contains filtered or unexported fields
}

func New

func New(max int64, broadcastChannel *chat.ChatChannel, uploader channel.Uploader) *UploadChannel

func (*UploadChannel) HandleBIN

func (c *UploadChannel) HandleBIN(cl channel.Client, r channel.BinaryReader) error

func (*UploadChannel) HandleJSON

func (c *UploadChannel) HandleJSON(cl channel.Client, r io.Reader) (io.Reader, error)

func (*UploadChannel) Register

func (c *UploadChannel) Register(chnl string, s channel.Sender) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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