Documentation ¶
Overview ¶
package main
Index ¶
- type Packet
- func (packet *Packet) GetBytePos() int64
- func (packet *Packet) GetComplete() bool
- func (packet *Packet) GetFileData() []byte
- func (packet *Packet) GetForm() string
- func (packet *Packet) GetStringData() string
- func (packet *Packet) SetBytePos(newBytePos int64)
- func (packet *Packet) SetCompleted(newCompleted bool)
- func (packet *Packet) SetFileData(newFileData []byte)
- func (packet *Packet) SetForm(newForm string)
- func (packet *Packet) SetStringData(newStringData string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Packet ¶
type Packet struct { Form string StringData string // Variables for file transfers BytePos int64 FileData []byte Completed bool }
func (*Packet) GetBytePos ¶
func (*Packet) GetComplete ¶
func (*Packet) GetFileData ¶
func (*Packet) GetStringData ¶
func (*Packet) SetBytePos ¶
func (*Packet) SetCompleted ¶
func (*Packet) SetFileData ¶
func (*Packet) SetStringData ¶
Click to show internal directories.
Click to hide internal directories.