Documentation ¶
Overview ¶
This file has automatically been generated on Wed Feb 26 15:50:46 +05 2020. DO NOT EDIT.
Index ¶
- func CanonicalMIMEHeaderKey(s string) string
- func ConnClose(c *textproto.Conn) error
- func ConnCmd(c *textproto.Conn, format string, args ...interface{}) (uint, error)
- func Dial(network, addr string) (*textproto.Conn, error)
- func ErrorError(e *textproto.Error) string
- func MIMEHeaderGet(h textproto.MIMEHeader, key string) string
- func MIMEHeaderValues(h textproto.MIMEHeader, key string) []string
- func NewConn(conn io.ReadWriteCloser) *textproto.Conn
- func NewReader(r *bufio.Reader) *textproto.Reader
- func NewWriter(w *bufio.Writer) *textproto.Writer
- func PipelineNext(p *textproto.Pipeline) uint
- func ProtocolErrorError(p textproto.ProtocolError) string
- func ReaderDotReader(r *textproto.Reader) io.Reader
- func ReaderReadCodeLine(r *textproto.Reader, expectCode int) (int, string, error)
- func ReaderReadContinuedLine(r *textproto.Reader) (string, error)
- func ReaderReadContinuedLineBytes(r *textproto.Reader) ([]byte, error)
- func ReaderReadDotBytes(r *textproto.Reader) ([]byte, error)
- func ReaderReadDotLines(r *textproto.Reader) ([]string, error)
- func ReaderReadLine(r *textproto.Reader) (string, error)
- func ReaderReadLineBytes(r *textproto.Reader) ([]byte, error)
- func ReaderReadMIMEHeader(r *textproto.Reader) (textproto.MIMEHeader, error)
- func ReaderReadResponse(r *textproto.Reader, expectCode int) (int, string, error)
- func TrimBytes(b []byte) []byte
- func TrimString(s string) string
- func WriterDotWriter(w *textproto.Writer) io.WriteCloser
- func WriterPrintfLine(w *textproto.Writer, format string, args ...interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanonicalMIMEHeaderKey ¶
func ErrorError ¶
func MIMEHeaderGet ¶
func MIMEHeaderGet(h textproto.MIMEHeader, key string) string
func MIMEHeaderValues ¶
func MIMEHeaderValues(h textproto.MIMEHeader, key string) []string
func PipelineNext ¶
func ProtocolErrorError ¶
func ProtocolErrorError(p textproto.ProtocolError) string
func ReaderReadCodeLine ¶
func ReaderReadMIMEHeader ¶
func ReaderReadMIMEHeader(r *textproto.Reader) (textproto.MIMEHeader, error)
func ReaderReadResponse ¶
func TrimString ¶
func WriterDotWriter ¶
func WriterDotWriter(w *textproto.Writer) io.WriteCloser
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.